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