Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document rmdir
  • Loading branch information
Paul Cochrane committed Mar 21, 2015
1 parent 83b681a commit 5f9e753
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Type/IO.pod
Expand Up @@ -347,6 +347,16 @@ L<umask|http://en.wikipedia.org/wiki/Umask>).
Throws an exception of type L<X::IO::Mkdir|/type/X::IO::Mkdir> if the
directory cannot be created.
=head2 sub rmdir
sub rmdir($dir as IO --> Bool) is export
Remove the given directory if it is empty.
Returns C<True> on success. Throws an exception of type
L<X::IO::Rmdir|/type/X::IO::Rmdir> if the directory cannot be removed (e.g.
the directory is not empty, or the path is not a directory).
=head2 sub run
sub run(*@args ($, *@)) returns Proc::Status:D
Expand Down

0 comments on commit 5f9e753

Please sign in to comment.