2 implementations of DirectoryExists
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
14
public bool
DirectoryExists
(string path) => Directory.Exists(path);
Microsoft.Arcade.Test.Common (1)
MockFileSystem.cs (1)
35
public bool
DirectoryExists
(string path) => Directories.Contains(path);
9 references to DirectoryExists
Microsoft.DotNet.Helix.Sdk (3)
CreateXHarnessAppleWorkItems.cs (1)
202
return isAlreadyArchived ? fileSystem.FileExists(appBundlePath) : fileSystem.
DirectoryExists
(appBundlePath);
InstallDotNetTool.cs (2)
101
if (!fileSystem.
DirectoryExists
(ToolPath))
110
if (fileSystem.
DirectoryExists
(versionInstallPath))
Microsoft.DotNet.Helix.Sdk.Tests (6)
InstallDotNetToolTests.cs (6)
83
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))
109
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))
134
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))
158
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))
210
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))
215
.Setup(x => x.
DirectoryExists
(It.IsAny<string>()))