method abs2rel

Documentation for method abs2rel, assembled from the following types:

class IO::Spec::Unix

From IO::Spec::Unix

(IO::Spec::Unix) method abs2rel

Defined as:

method abs2rel(IO::Path:D $pathIO::Path:D $base = $*CWD --> Str:D)

Returns a string that represents $path, but relative to $base path. Both $path and $base may be relative paths $bar defaults to $*CWD

class IO::Spec::Cygwin

From IO::Spec::Cygwin

(IO::Spec::Cygwin) method abs2rel

Defined as:

method abs2rel(IO::Path:D $pathIO::Path:D $base = $*CWD --> Str:D)

Returns a string that represents $path, but relative to $base path. Both $path and $base may be relative paths $bar defaults to $*CWD. Uses IO::Spec::Win32's semantics.