@@ -480,11 +480,11 @@ for each directory in the path, and any symlinks found are followed.
480
480
my $io = "foo/./bar/..".IO.resolve; # now "/" (the parent of "/baz")
481
481
482
482
If C < :$completely > , which defaults to C < False > , is set to a true value, the
483
- method will L « C < fail > |/routine/fail» with C < X::IO::Resolve >
484
- if it cannot completely resolve the path,
485
- otherwise, it will resolve as much as possible, and will merely perform
486
- L « C < cleanup > |/routine/cleanup » of the rest of the path. The last part of the
487
- path does B < NOT > have to exist to C < :$completely > resolve the path .
483
+ method will L « C < fail > |/routine/fail» with C < X::IO::Resolve > if it cannot
484
+ completely resolve the path, otherwise, it will resolve as much as possible, and
485
+ will merely perform L « C < cleanup > |/routine/cleanup » of the rest of the path. The
486
+ last part of the path does B < NOT > have to exist to C < :$completely > resolve the
487
+ path.
488
488
489
489
NOTE: Currently (April 2017) this method doesn't work correctly on all
490
490
platforms, e.g. Windows, since it assumes POSIX semantics.
@@ -837,12 +837,10 @@ Defined as:
837
837
838
838
multi method chdir(IO::Path:D: Str() $path, :$d = True, :$r, :$w, :$x)
839
839
840
- B < DEPRECATION NOTICE: > this method will be deprecated in C < 6.d > language
841
- and removed in C < 6.e > . Do
842
- not use it for new code. Instead, create a new path or use
843
- L « C < add > |/routine/add» method. For altering current working
844
- directory see L « C < &chdir > |/routine/chdir» and L « C < &*chdir > |/routine/&*chdir»
845
- subroutines.
840
+ B < DEPRECATION NOTICE: > this method will be deprecated in C < 6.d > language and
841
+ removed in C < 6.e > . Do not use it for new code. Instead, create a new path or use
842
+ L « C < add > |/routine/add» method. For altering current working directory see
843
+ L « C < &chdir > |/routine/chdir» and L « C < &*chdir > |/routine/&*chdir» subroutines.
846
844
847
845
Contrary to the name, the C < .chdir > method does not change any directories,
848
846
but merely concatenates the given C < $path > to the invocant and returns the
@@ -868,6 +866,7 @@ L<fails|/routine/fail> with L<X::IO::Mkdir> if directory cannot be created.
868
866
869
867
See also L « C < mode > |/routine/mode» for explanation and
870
868
valid values for C < $mode > .
869
+
871
870
= head2 routine rmdir
872
871
873
872
Defined as:
@@ -971,6 +970,8 @@ Defined as:
971
970
Coerces L « C < .basename > |/routine/basename» to L < Int > . L < Fails|/routine/fail >
972
971
with C < X::Str::Numeric > if base name is not numerical.
973
972
973
+ X < |symlink (routine) >
974
+ X < |symlink (method) >
974
975
= head2 routine symlink
975
976
976
977
Defined as:
@@ -987,6 +988,8 @@ To create a hard link, see L«C<link>|/routine/link».
987
988
B < Note: > on Windows, creation of symbolic links may require escalated
988
989
privileges.
989
990
991
+ X < |link (routine) >
992
+ X < |link (method) >
990
993
= head2 routine link
991
994
992
995
Defined as:
0 commit comments