Pretzel.Logic.Templating.Context.SiteContextGenerator.MapToOutputPath C# (CSharp) Method

MapToOutputPath() private method

private MapToOutputPath ( Pretzel.Logic.Templating.Context.SiteContext context, string file ) : string
context Pretzel.Logic.Templating.Context.SiteContext
file string
return string
        private string MapToOutputPath(SiteContext context, string file)
        {
            return file.Replace(context.SourceFolder, "")
                .TrimStart(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);
        }