directory method

RemoteDirectory directory(
  1. String path
)

Returns a new RemoteDirectory within this directory.

Implementation

RemoteDirectory directory(String path) {
  final newPath = _fileSystem.pathContext.join(this.path, path);
  return RemoteDirectory(fileSystem: _fileSystem, path: newPath);
}