Documentation for method resolve

Documentation for method resolve, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method resolve

method resolve(IO::Path:D: --> IO::Path)

Returns a new IO::Path object with all symbolic links and references to the parent directory (..) resolved. This means that the filesystem is examined for each directory in the path, and any symlinks found are followed.

# bar is a symlink pointing to "/baz" 
my $io = "foo/./bar/..".IO.resolve;      # now "/" (the parent of "/baz") 

NOTE: Currently (May 2016) this method doesn't work correctly on all platforms, e.g. Windows, since it assumes POSIX semantics.