2 implementations of FileExists
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
16
public bool
FileExists
(string path) => File.Exists(path);
Microsoft.Arcade.Test.Common (1)
MockFileSystem.cs (1)
37
public bool
FileExists
(string path) => Files.ContainsKey(path);
9 references to FileExists
Microsoft.DotNet.Build.Tasks.Feed (2)
src\PushToBuildStorage.cs (2)
204
if (!fileSystem.
FileExists
(packagePath.ItemSpec))
215
if (!fileSystem.
FileExists
(blobItem.ItemSpec))
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PushToBuildStorageTests.cs (3)
284
fileSystemMock.Setup(m => m.
FileExists
(Capture.In(files))).Returns(true);
332
fileSystemMock.Setup(m => m.
FileExists
(Capture.In(files))).Returns(true);
381
fileSystemMock.Setup(m => m.
FileExists
(Capture.In(files))).Returns(true);
Microsoft.DotNet.Helix.Sdk (4)
CreateXHarnessAndroidWorkItems.cs (1)
76
if (!fileSystem.
FileExists
(apkPath))
CreateXHarnessAppleWorkItems.cs (1)
202
return isAlreadyArchived ? fileSystem.
FileExists
(appBundlePath) : fileSystem.DirectoryExists(appBundlePath);
ProvisioningProfileProvider.cs (1)
185
if (_fileSystem.
FileExists
(targetFile))
XharnessTaskBase.cs (1)
138
if (fileSystem.
FileExists
(outputZipPath))