code: public UnixPath toAbsolutePath(UnixPath currentWorkingDirectory) {
      checkArgument(currentWorkingDirectory.isAbsolute());
      return isAbsolute() ? this : currentWorkingDirectory.resolve(this);
    }
docs: Converts relative path to an absolute path.