setCurrentDir method

  1. @protected
void setCurrentDir(
  1. String path
)

Implementation

@protected
void setCurrentDir(String path) {
  if (!p.equals(Directory.current.path, path)) {
    printInfo('Set current dir: $path');
    Directory.current = path;
  }
}