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