2 interfaces inheriting from IFileSystemInfo
Microsoft.TemplateEngine.Abstractions (2)
Mount\IDirectory.cs (1)
9public interface IDirectory : IFileSystemInfo
Mount\IFile.cs (1)
9public interface IFile : IFileSystemInfo
1 implementation of IFileSystemInfo
Microsoft.TemplateEngine.Edge (1)
Mount\FileSystemInfoBase.cs (1)
8internal abstract class FileSystemInfoBase : IFileSystemInfo
34 references to IFileSystemInfo
Microsoft.TemplateEngine.Abstractions (14)
IGenerator.cs (3)
102/// Gets an <see cref="ITemplate"/> from the given <see cref="IFileSystemInfo" /> configuration entry. 111bool TryGetTemplateFromConfigInfo(IFileSystemInfo config, out ITemplate? template, IFileSystemInfo? localeConfig, IFile? hostTemplateConfigFile, string? baselineName = null);
ISettingsLoader.cs (1)
51IFile FindBestHostTemplateConfigFile(IFileSystemInfo config);
ITemplate.cs (3)
21IFileSystemInfo Configuration { get; } 26IFileSystemInfo? LocaleConfiguration { get; } 31IFileSystemInfo? HostSpecificConfiguration { get; }
Mount\FileSystemInfoKind.cs (1)
7/// Defines the kind of a <see cref="IFileSystemInfo"/> entry.
Mount\IDirectory.cs (4)
7/// Defines directory <see cref="IFileSystemInfo"/> entry. 12/// Enumerates the <see cref="IFileSystemInfo"/> entries in the directory. 16/// <returns>The enumerator to <see cref="IFileSystemInfo"/> entries in the directory.</returns> 17IEnumerable<IFileSystemInfo> EnumerateFileSystemInfos(string pattern, SearchOption searchOption);
Mount\IFile.cs (1)
7/// Defines a file <see cref="IFileSystemInfo"/> entry.
Mount\IMountPoint.cs (1)
47IFileSystemInfo? FileSystemInfo(string path);
Microsoft.TemplateEngine.Edge (13)
Mount\Archive\ZipFileDirectory.cs (1)
21public override IEnumerable<IFileSystemInfo> EnumerateFileSystemInfos(string pattern, SearchOption searchOption)
Mount\Archive\ZipFileFile.cs (2)
21public override bool Exists => _entry != null || (_mountPoint.Universe.TryGetValue(FullPath, out var info) && info.Kind == FileSystemInfoKind.File); 27if (!_mountPoint.Universe.TryGetValue(FullPath, out var info) || info.Kind != FileSystemInfoKind.File || !info.Exists)
Mount\Archive\ZipFileMountPoint.cs (7)
16private IReadOnlyDictionary<string, IFileSystemInfo>? _universe; 37internal IReadOnlyDictionary<string, IFileSystemInfo> Universe 43Dictionary<string, IFileSystemInfo> universe = new Dictionary<string, IFileSystemInfo> 59if (!universe.TryGetValue(path, out IFileSystemInfo? parentDirEntry)) 97if (Universe.TryGetValue(path, out IFileSystemInfo info)) 109public IFileSystemInfo? FileSystemInfo(string path)
Mount\DirectoryBase.cs (1)
25public abstract IEnumerable<IFileSystemInfo> EnumerateFileSystemInfos(string pattern, SearchOption searchOption);
Mount\FileSystem\FileSystemDirectory.cs (1)
26public override IEnumerable<IFileSystemInfo> EnumerateFileSystemInfos(string pattern, SearchOption searchOption)
Mount\FileSystem\FileSystemMountPoint.cs (1)
59public IFileSystemInfo FileSystemInfo(string path)
Microsoft.TemplateEngine.Utils (7)
FileSystemInfoExtensions.cs (6)
47public static IFile? FileInfo(this IFileSystemInfo info, string path) 53public static IDirectory? DirectoryInfo(this IFileSystemInfo info, string path) 59public static IFileSystemInfo? FileSystemInfo(this IFileSystemInfo info, string path) 65public static string PathRelativeTo(this IFileSystemInfo info, IFileSystemInfo relativeTo)
IFileSystemInfoExtensions.cs (1)
20public static string GetDisplayPath(this IFileSystemInfo fileSystemInfo)