Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added method header to abspath and implemented a textual change sugge…
…sted by [Coke]++
  • Loading branch information
Jan-Olof Hendig committed May 19, 2016
1 parent ae6d2af commit 14b9ff4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/Type/IO/Path.pod
Expand Up @@ -43,6 +43,8 @@ basename passed as named arguments.
=head2 method abspath
method abspath(IO::Path:D: --> Str)
Returns the absolute path as a string.
=head2 method basename
Expand Down Expand Up @@ -165,9 +167,8 @@ needed and returns the result as a new C<IO::Path>.
method resolve(IO::Path:D: --> IO::Path)
Returns a new C<IO::Path> object with all symbolic links and references to the
parent directory (C<..>) physically resolved. This means that the
filesystem is examined for each directory in the path, and any symlinks found
are followed.
parent directory (C<..>) 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")
Expand Down

0 comments on commit 14b9ff4

Please sign in to comment.