Skip to content

Commit

Permalink
Specced mkdir
Browse files Browse the repository at this point in the history
  • Loading branch information
dagurval committed Sep 11, 2013
1 parent 042527b commit db64e30
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions S32-setting-library/IO.pod
Expand Up @@ -22,8 +22,8 @@ DRAFT: Synopsis 32: Setting Library - IO

Created: 19 Feb 2009 extracted from S29-functions.pod; added stuff from S16-IO later

Last Modified: 19 Aug 2013
Version: 21
Last Modified: 23 Sep 2013
Version: 22

The document is a draft.

Expand Down Expand Up @@ -221,6 +221,14 @@ failure.
Removes the directory given from disk. Returns True on success, or an
L<X::IO::Rmdir|S32::Exception/X::IO::Rmdir> failure.

=item mkdir

sub mkdir(Cool:D $directory)

Makes (creates) the directory represented by the IO::Path. Returns True on success,
or an L<X::IO::Mkdir|S32::Exception/X::IO::Mkdir> failure.


=back

=head1 IO Types
Expand Down Expand Up @@ -715,6 +723,13 @@ Removes (deletes) the directory represented by the IO::Path. Typically fails
unless the directory is empty. Returns True on success; fails with an X::IO::Rmdir
on error.

=item mkdir

Makes (creates) the directory represented by the IO::Path. Returns True on success.
The method will C<fail> with L<X::IO::Mkdir|S32::Exception/X::IO::Mkdir> if it
can not create the directory, if file or directory already exists or if the parent
directory of the path does not exist.

=back

=head3 OS Specific subclasses.
Expand Down

0 comments on commit db64e30

Please sign in to comment.