Giddy::Role::PathMaker - Provides file and directory creation for Giddy::Database
# used internally
This role provides Giddy::Database with common methods needed for creating paths in the database.
Requires the attribute '_repo' to be implemented by consuming classes.
Creates a directory under
$path and chmods it 0775. If path already exists, nothing will happen.
Marks a path (assumed to be a directory) as a static-file directory by creating an empty '.static' file under it.
Creates an empty file in
$path and chmods it 0664.
Creates a file called
$path, with the provided content, and chmods it to
<ido at ido50.net>
Please report any bugs or feature requests to
bug-giddy at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Giddy. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Copyright 2011 Ido Perlmuter.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.