abs2rel
ErrorsCollection

abs2rel

Synthesised documentation from type/IO/Spec/Cygwin type/IO/Spec/Unix

From type/IO/Spec/Cygwin

See Original text in context

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. $base defaults to $*CWD. Uses IO::Spec::Win32's semantics.

From type/IO/Spec/Unix

See Original text in context

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. $base defaults to $*CWD.