navigate method

void navigate (
  1. String path
)

Implementation

void navigate(String path) {
  if (workingDirectory == null) {
    workingDirectory = path;
  } else {
    workingDirectory = p.join(workingDirectory, path);
  }

  workingDirectory = p.absolute(workingDirectory);
}