-
-
22 Oct 2020 13:27:14 UTC
- Distribution: Rapi-Fs
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1 / 0 / 0)
- Kwalitee
Bus factor: 2- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (145.39KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- DateTime
- Encode::Guess
- File::MimeInfo::Magic
- File::ShareDir
- FindBin
- Getopt::Long
- HTML::Entities
- Module::Runtime
- Moo
- Moo::Role
- Moose
- Moose::Role
- Number::Bytes::Human
- Path::Class
- Plack::Runner
- Pod::Usage
- RapidApp
- RapidApp::Builder
- RapidApp::Module::NavTree
- RapidApp::Util
- Scalar::Util
- Types::Standard
- URI
- URI::Escape
- experimental
- if
- lib
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Rapi::Fs::Role::Driver - Role for Rapi::Fs driver classes
SYNOPSIS
package My::Driver; use Moo; with 'Rapi::Fs::Role::Driver'; ...
DESCRIPTION
This is the role which must be consumed for a class to become a valid Rapi::Fs driver. Most of the code in this role simply consists of interfaces (i.e. method
'requires'
statements). For a reference implementation of an actual driver class, see Rapi::Fs::Driver::Filesystem.ATTRIBUTES
name
args
METHODS
call_node_get
REQUIRES
get_node
Must be defined in subclass - accepts a path string and returns the associated Node object. Must also be able to accept existing Node object arg and return it back to the caller as-is.
node_get_parent
node_get_parent_path
node_get_subnodes
node_get_bytes
node_get_mtime
node_get_fh
node_get_mimetype
node_get_link_target
node_get_readable_file
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.
Module Install Instructions
To install Rapi::Fs, copy and paste the appropriate command in to your terminal.
cpanm Rapi::Fs
perl -MCPAN -e shell install Rapi::Fs
For more information on module installation, please visit the detailed CPAN module installation guide.