3 implementations of IFileSystem
Microsoft.Build.Tasks.Core (3)
CachingFileSystemWrapper.cs (1)
13
internal sealed class CachingFileSystemWrapper :
IFileSystem
ManagedFileSystem.cs (1)
15
internal class ManagedFileSystem :
IFileSystem
MSBuildOnWindowsFileSystem.cs (1)
18
internal sealed class MSBuildOnWindowsFileSystem :
IFileSystem
18 references to IFileSystem
Microsoft.Build.Tasks.Core (18)
CachingFileSystemWrapper.cs (2)
15
private readonly
IFileSystem
_fileSystem;
19
public CachingFileSystemWrapper(
IFileSystem
fileSystem)
FileMatcher.cs (7)
26
private readonly
IFileSystem
_fileSystem;
87
public FileMatcher(
IFileSystem
fileSystem, ConcurrentDictionary<string, IReadOnlyList<string>> fileEntryExpansionCache = null) : this(
100
internal FileMatcher(
IFileSystem
fileSystem, GetFileSystemEntries getFileSystemEntries, ConcurrentDictionary<string, IReadOnlyList<string>> getFileSystemDirectoryEntriesCache = null)
222
private static IReadOnlyList<string> GetAccessibleFileSystemEntries(
IFileSystem
fileSystem, FileSystemEntity entityType, string path, string pattern, string projectDirectory, bool stripProjectDirectory)
245
private static IReadOnlyList<string> GetAccessibleFilesAndDirectories(
IFileSystem
fileSystem, string path, string pattern)
311
IFileSystem
fileSystem,
377
IFileSystem
fileSystem,
FileSystems.cs (3)
9
/// Factory for <see cref="
IFileSystem
"/>
13
public static
IFileSystem
Default = GetFileSystem();
15
private static
IFileSystem
GetFileSystem()
FileUtilities.cs (6)
122
private static readonly
IFileSystem
DefaultFileSystem = FileSystems.Default;
992
internal static bool DirectoryExistsNoThrow(string fullPath,
IFileSystem
fileSystem = null)
1016
internal static bool FileExistsNoThrow(string fullPath,
IFileSystem
fileSystem = null)
1040
internal static bool FileOrDirectoryExistsNoThrow(string fullPath,
IFileSystem
fileSystem = null)
1438
internal static string GetDirectoryNameOfFileAbove(string startingDirectory, string fileName,
IFileSystem
fileSystem = null)
1479
internal static string GetPathOfFileAbove(string file, string startingDirectory,
IFileSystem
fileSystem = null)