Skip to content

Commit d050d4b

Browse files
committed
[io grant] Remove IO::Path.chdir prose
Will write new info after fixing up the method in Rakudo. - &chdir is vastly different and shouldn't be listed together - the prose is wrong, IO::Path.chdir doesn't use $*CWD - the prose mentions now-deprecated :test param
1 parent 262bdd7 commit d050d4b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

doc/Type/IO/Path.pod6

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -329,24 +329,9 @@ Write C<$contents> to this path, like L<spurt|/routine/spurt>.
329329
330330
=head2 routine chdir
331331
332-
sub chdir(Str() $path, :$test = 'r' --> IO::Path)
333332
multi method chdir(IO::Path:U: $path, :$test = 'r' --> IO::Path)
334333
multi method chdir(IO::Path:D: Str() $path is copy, :$test = 'r' --> IO::Path)
335334
336-
Alter the process' notion of the current working directory (as found in
337-
C<$*CWD>).
338-
339-
The subroutine and class method forms both change the directory relative to
340-
C<$*CWD> if the supplied C<$path> is not absolute. The object method form
341-
changes the directory relative to the path of the invocant if C<$path> is
342-
not absolute. The optional named parameter C<test> can specify a file test
343-
that should be applied to the target path if the operation is successful.
344-
The default C<test> is that the directory is readable.
345-
346-
If the directory change is successful then the L<IO::Path>
347-
representing the target directory is returned, otherwise it will
348-
L<fail|/routine/fail> with L<X::IO::Chdir>.
349-
350335
=head2 routine mkdir
351336
352337
multi sub mkdir(Int:D $mode, *@dirnames --> List)

0 commit comments

Comments
 (0)