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);
11 references to FileExists
Microsoft.DotNet.Build.Tasks.Feed (4)
src\PublishArtifactsInManifest.cs (1)
306if (!_fileSystem.FileExists(manifestFullPath))
src\PushToBuildStorage.cs (3)
200if (!fileSystem.FileExists(package.OriginalFile)) 211if (!fileSystem.FileExists(blobArtifact.OriginalFile)) 222if (!fileSystem.FileExists(pdbArtifact.OriginalFile))
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PushToBuildStorageTests.cs (3)
291fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 340fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 390fileSystemMock.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))