2 implementations of FileExists
Microsoft.Arcade.Common (1)
FileSystem.cs (1)
15public 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)
313if (!_fileSystem.FileExists(manifestFullPath))
src\PushToAzureDevOpsArtifacts.cs (3)
113if (!fileSystem.FileExists(blobItem.ItemSpec)) 156if (!fileSystem.FileExists(packagePath.ItemSpec)) 168if (!fileSystem.FileExists(blobItem.ItemSpec))
Microsoft.DotNet.Build.Tasks.Feed.Tests (5)
PushToAzureDevOpsArtifactsTests.cs (5)
276fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 325fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 373fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 422fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true); 526fileSystemMock.Setup(m => m.FileExists(Capture.In(files))).Returns(true);
Microsoft.DotNet.Helix.Sdk (4)
CreateXHarnessAndroidWorkItems.cs (1)
73if (!fileSystem.FileExists(apkPath))
CreateXHarnessAppleWorkItems.cs (1)
199return isAlreadyArchived ? fileSystem.FileExists(appBundlePath) : fileSystem.DirectoryExists(appBundlePath);
ProvisioningProfileProvider.cs (1)
185if (_fileSystem.FileExists(targetFile))
XharnessTaskBase.cs (1)
135if (fileSystem.FileExists(outputZipPath))