private async Task <NtStatus> CheckCreateDir(string fileName) { if (await provider.Exists(fileName)) { return(DokanResult.AlreadyExists); } await provider.CreateDir(fileName); return(DokanResult.Success); }
public async Task <bool> Exists(string filePath) => await provider.Exists(FixRoot(filePath)).ConfigureAwait(false);