2 implementations of IPhysicalFileSystem
Microsoft.TemplateEngine.Utils (2)
InMemoryFileSystem.cs (1)
14public class InMemoryFileSystem : IPhysicalFileSystem
PhysicalFileSystem.cs (1)
12public class PhysicalFileSystem : IPhysicalFileSystem
28 references to IPhysicalFileSystem
dotnet (4)
Commands\New\OptionalWorkloadProvider.cs (1)
41var fileSystem = _environmentSettings.Host.FileSystem;
Commands\New\PostActions\DotnetAddPostActionProcessor.cs (2)
23internal static IReadOnlyList<string> FindProjFileAtOrAbovePath(IPhysicalFileSystem fileSystem, string startPath, HashSet<string> extensionLimiters) 105private static IReadOnlyList<string> FindExistingTargetFiles(IPhysicalFileSystem fileSystem, IReadOnlyDictionary<string, string> actionArgs, string outputBasePath)
Commands\New\PostActions\DotnetSlnPostActionProcessor.cs (1)
21internal static IReadOnlyList<string> FindSolutionFilesAtOrAbovePath(IPhysicalFileSystem fileSystem, string outputBasePath)
Microsoft.TemplateEngine.Abstractions (1)
ITemplateEngineHost.cs (1)
24IPhysicalFileSystem FileSystem { get; }
Microsoft.TemplateEngine.Cli (6)
JExtensions.cs (2)
217internal static JsonObject ReadObject(this IPhysicalFileSystem fileSystem, string path) 226internal static void WriteObject(this IPhysicalFileSystem fileSystem, string path, JsonNode obj)
PostActionProcessors\AddJsonPropertyPostActionProcessor.cs (3)
42internal static string GetRootDirectory(IPhysicalFileSystem fileSystem, string outputBasePath) 173private static JsonNode? AddElementToJson(IPhysicalFileSystem fileSystem, string targetJsonFile, string? propertyPath, string propertyPathSeparator, string newJsonPropertyName, string newJsonPropertyValue, IPostAction action) 241IPhysicalFileSystem fileSystem,
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
96private static string ResolveExecutableFilePath(IPhysicalFileSystem fileSystem, string executableFileName, string outputBasePath)
Microsoft.TemplateEngine.Core (3)
Util\Orchestrator.cs (3)
16private readonly IPhysicalFileSystem _fileSystem; 18public Orchestrator(ILogger logger, IPhysicalFileSystem fileSystem) 106private static string CreateTargetDir(IPhysicalFileSystem fileSystem, string sourceRel, string targetDir, IGlobalRunSpec spec)
Microsoft.TemplateEngine.Edge (4)
DefaultTemplateEngineHost.cs (1)
40public IPhysicalFileSystem FileSystem { get; private set; }
Mount\FileSystem\FileSystemDirectory.cs (1)
14private readonly IPhysicalFileSystem _fileSystem;
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (2)
448internal static JsonObject ReadObject(this IPhysicalFileSystem fileSystem, string path) 457internal static void WriteObject<T>(this IPhysicalFileSystem fileSystem, string path, T obj, JsonTypeInfo<T> jsonTypeInfo)
Microsoft.TemplateEngine.Utils (8)
DefaultTemplateEngineHost.cs (1)
52public IPhysicalFileSystem FileSystem { get; private set; }
FileFindHelpers.cs (1)
12public static IReadOnlyList<string> FindFilesAtOrAbovePath(IPhysicalFileSystem fileSystem, string startPath, string matchPattern, Func<string, bool>? secondaryFilter = null)
InMemoryFileSystem.cs (3)
11/// In-memory file system implementation of <see cref="IPhysicalFileSystem"/>. 17private readonly IPhysicalFileSystem _basis; 19public InMemoryFileSystem(string root, IPhysicalFileSystem basis)
PhysicalFileSystem.cs (1)
9/// Local file system implementation of <see cref="IPhysicalFileSystem"/>.
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (2)
448internal static JsonObject ReadObject(this IPhysicalFileSystem fileSystem, string path) 457internal static void WriteObject<T>(this IPhysicalFileSystem fileSystem, string path, T obj, JsonTypeInfo<T> jsonTypeInfo)
Microsoft.TemplateSearch.Common (2)
src\sdk\src\TemplateEngine\Shared\JExtensions.cs (2)
448internal static JsonObject ReadObject(this IPhysicalFileSystem fileSystem, string path) 457internal static void WriteObject<T>(this IPhysicalFileSystem fileSystem, string path, T obj, JsonTypeInfo<T> jsonTypeInfo)