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);
13 references to FileExists
Microsoft.DotNet.Build.Tasks.Feed (4)
src\PublishArtifactsInManifest.cs (1)
320if (!_fileSystem.FileExists(manifestFullPath))
src\PushToBuildStorage.cs (3)
154if (!fileSystem.FileExists(blobItem.ItemSpec)) 196if (!fileSystem.FileExists(packagePath.ItemSpec)) 207if (!fileSystem.FileExists(blobItem.ItemSpec))
Microsoft.DotNet.Build.Tasks.Feed.Tests (5)
PushToBuildStorageTests.cs (5)
275fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 324fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 372fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 421fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 525fileSystemMock.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))