Name
CatalystX::Usul::Model::FileSystem - File system related methods
Version
Describes v0.16.$Rev: 1 $
Synopsis
package YourApp;
use Catalyst qw(ConfigComponents...);
__PACKAGE__->config(
'Model::FileSystem' => {
parent_classes => q(CatalystX::Usul::Model::FileSystem) }, );
Description
This model provides methods for manipulating files and directories
Configuration and Environment
Defines no attributes
Subroutines/Methods
build_per_context_instance
Creates an instance of CatalystX::Usul::Filesystem
get_file_systems
$self->get_file_systems( $args );
Returns the file systems on the local host
list_subdirectory
$self->list_subdirectory( $directory );
Returns the contents of the selected directory as a Class::Usul::Response::Table object
view_file
$self->view_file( $subtype, $id );
Stash the data used by HTML::FormWidgets to view a file of a given type
Diagnostics
None
Dependencies
- CatalystX::Usul::FileSystem
- CatalystX::Usul::Model
- CatalystX::Usul::TraitFor::Model::StashHelper
- CatalystX::Usul::Moose
Incompatibilities
There are no known incompatibilities in this module
Bugs and Limitations
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Author
Peter Flanigan, <Support at RoxSoft.co.uk>
License and Copyright
Copyright (c) 2014 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE