NAME
Storage::Abstract::Driver::Directory - Local directory storage
SYNOPSIS
my $storage = Storage::Abstract->new(
driver => 'directory',
directory => '/path/to/dir',
);
DESCRIPTION
This driver will store files in a local directory.
Driver will perform mapping of paths from Unix to local OS. If the paths contain any OS-specific syntax in them, an exception will be thrown.
CUSTOM INTERFACE
Attributes
directory
Required - A string path to a directory which will serve as root. The directory must already exist when the object is built. This should be in format specific to the filesystem.
create_directory
Whether the directory should be created. If true, will create the entire path with default permissions on object construction.