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

Rapi::Fs::Driver::Filesystem - Standard filesystem driver for Rapi::Fs

SYNOPSIS

 use Rapi::Fs;
 
 my $app = Rapi::Fs->new({
   mounts  => [{
     driver => 'Filesystem',
     name   => 'Some-Path',
     args   => '/some/path'
   }]
 });

 # Plack/PSGI app:
 $app->to_app

DESCRIPTION

This is the default, ordinary filesystem driver for Rapi::Fs. It implements the Rapi::Fs::Role::Driver interface for an ordinary directory path on the local system.

As the first and most basic Rapi::Fs driver, it also serves as the reference implementation for writing other driver classes, either by extending this class directly, or implementing a driver from scratch by consuming the Rapi::Fs::Role::Driver role and using this class simply for reference.

SEE ALSO

AUTHOR

Henry Van Styn <vanstyn@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by IntelliTree Solutions llc.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.