1 write to _fileSystem
Microsoft.DotNet.Tools.Tests.ComponentMocks (1)
ToolPackageStoreMock.cs (1)
25_fileSystem = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
8 references to _fileSystem
Microsoft.DotNet.Tools.Tests.ComponentMocks (8)
ToolPackageStoreMock.cs (8)
40_fileSystem.Directory.EnumerateFileSystemEntries( 66if (!_fileSystem.Directory.Exists(Root.Value)) 71foreach (var subdirectory in _fileSystem.Directory.EnumerateFileSystemEntries(Root.Value)) 91if (!_fileSystem.Directory.Exists(packageRootDirectory.Value)) 96foreach (var subdirectory in _fileSystem.Directory.EnumerateFileSystemEntries(packageRootDirectory.Value)) 102_fileSystem, 113if (!_fileSystem.Directory.Exists(directory.Value)) 117return new ToolPackageMock(_fileSystem, packageId, version, directory);