1 implementation of Exists
Microsoft.DotNet.InternalAbstractions (1)
FileWrapper.cs (1)
8
public bool
Exists
(string path)
16 references to Exists
dotnet-aot (11)
parent\dotnet\CommandFactory\CommandResolution\LocalToolsCommandResolver.cs (1)
86
if (!_fileSystem.File.
Exists
(toolCommand.Executable.Value))
parent\dotnet\ShellShim\LinuxEnvironmentPath.cs (1)
66
if (_fileSystem.
Exists
(DotnetCliToolsProfilePath))
parent\dotnet\ShellShim\OsxBashEnvironmentPath.cs (1)
54
if (_fileSystem.
Exists
(DotnetCliToolsPathsDPath))
parent\dotnet\ToolManifest\ToolManifestFinder.cs (6)
72
if (!_fileSystem.File.
Exists
(possibleManifest.Value))
106
if (!_fileSystem.File.
Exists
(possibleManifest.Value))
138
if (!_fileSystem.File.
Exists
(possibleManifest.Value))
197
if (_fileSystem.File.
Exists
(possibleManifest.Value))
233
|| _fileSystem.File.
Exists
(currentSearchDirectory.Value.WithFile(".git").Value))
279
if (_fileSystem.File.
Exists
(possibleManifest.Value))
parent\dotnet\ToolPackage\LocalToolsResolverCache.cs (2)
41
if (_fileSystem.File.
Exists
(packageCacheFile))
76
if (_fileSystem.File.
Exists
(packageCacheFile))
Microsoft.DotNet.Configurer (5)
AspNetCertificateSentinel.cs (1)
33
return _fileSystem.File.
Exists
(SentinelPath);
FileSentinel.cs (1)
26
return _fileSystem.File.
Exists
(_file.Value);
FirstTimeUseNoticeSentinel.cs (1)
33
return _fileSystem.File.
Exists
(SentinelPath);
IFileExtensions.cs (1)
18
if (!fileSystem.File.
Exists
(filePath))
UserLevelCacheWriter.cs (1)
33
if (!_file.
Exists
(cacheFilepath))