Fix DirectoryExistsAsync SyncFileSystem
This commit is contained in:
parent
23790b9652
commit
1981d72e50
|
@ -477,7 +477,7 @@ namespace Tesses.VirtualFilesystem
|
|||
public async Task<bool> DirectoryExistsAsync(UnixPath path, CancellationToken token = default)
|
||||
{
|
||||
if(token.IsCancellationRequested) return false;
|
||||
return await Task.Run<bool>(()=>DirectoryExistsAsync(path));
|
||||
return await Task.Run<bool>(()=>DirectoryExists(path));
|
||||
}
|
||||
|
||||
public IEnumerable<UnixPath> EnumerateDirectories(UnixPath path)
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
<PackageId>Tesses.VirtualFilesystem</PackageId>
|
||||
<Author>Mike Nolan</Author>
|
||||
<Company>Tesses</Company>
|
||||
<Version>1.0.0</Version>
|
||||
<AssemblyVersion>1.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<Version>1.0.1</Version>
|
||||
<AssemblyVersion>1.0.1</AssemblyVersion>
|
||||
<FileVersion>1.0.1</FileVersion>
|
||||
<Description>Another VirtualFilesystem for .NET</Description>
|
||||
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
|
|
Loading…
Reference in New Issue