Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document copy()
  • Loading branch information
hoelzro committed Aug 28, 2015
1 parent 7678c0f commit 12172fc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Type/IO/Path.pod
Expand Up @@ -265,6 +265,16 @@ operation could not be completed.
Please use L<move|/routine/move> if a file could not be moved by renaming
(usually because the destination is on a different physical storage device).
=head2 routine copy
method copy(IO::Path:D: $to, :$createonly)
sub copy($from, $to, :$createonly);
Copies a file, as indicated by C<$from> or the invocant, to the
destination specified. If C<:createonly> is set to C<True>, copy fails if a file
already exists in the destination. Returns C<True> upon success, or an
appropriate C<Failure> if the operation could not be completed.
=head2 routine move
method move(IO::Path:D: $to, :$createonly)
Expand Down

0 comments on commit 12172fc

Please sign in to comment.