Catalyst::Controller::SimpleCAS::Store::File - Standard file-based Store for SimpleCAS
use Catalyst::Controller::SimpleCAS; ...
This is the main "Store" object class used by Catalyst::Controller::SimpleCAS for persisting/storing arbitrary pieces of content on disk according to their CAS (content-addressed storage) name/address, in this case, standard 40 character SHA1 hex strings (160-bit). This is the same thing that Git does, which was the original inspiration for the SimpleCAS module.
Currently, this is the only Store class, but others could be implemented and the system was designed with this in mind (i.e. a DBIC-based store). Also, the implementation need not use the 40-char sha1 addresses - any content/checksum system for IDs could be implemented.
Also note that an actual Git-based store was partially written, but never finished. See the branch named partial_git_store in the GitHub repository for more info.
partial_git_store
This class is used internally and should not need to be called directly.
Where to store the data. This is the only required option and is a pass-through from the option of the same name in Catalyst::Controller::SimpleCAS.
Catalyst::Controller::SimpleCAS
Henry Van Styn <vanstyn@cpan.org>
This software is copyright (c) 2014 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.
To install Catalyst::Controller::SimpleCAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Controller::SimpleCAS
CPAN shell
perl -MCPAN -e shell install Catalyst::Controller::SimpleCAS
For more information on module installation, please visit the detailed CPAN module installation guide.