public async Task CreateDirectoryAsync(string destinationDirectoryPath) { try { await _files.CreateDirectoryAsync(destinationDirectoryPath); } catch (Exception e) { throw new RemoteNodeException(_machine, e); } }
public void CreateDirectory(string destinationDirectoryPath) { var operation = _operationTracker.BeginCreateDirectory(destinationDirectoryPath); try { _files.CreateDirectoryAsync(destinationDirectoryPath).Wait(); operation.Success(); } catch (Exception e) { operation.Failed(e); throw; } }
private void CreateDirectoryPrivate(string destinationDirectoryPath) { _files.CreateDirectoryAsync(destinationDirectoryPath).Wait(); }