public async Task EnsureDirectoryDoesNotExist([NotNull] FsPath path) { if (!await IsDirectory(path)) return; await _disk.DeleteDir(path); }