The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.