relativePathFrom method

string relativePathFrom(
  1. string? rootPath
)

Get relative path from root path

Implementation

string relativePathFrom(string? rootPath) => path.relative(this.path, from: rootPath);