-
-
13 May 2013 06:21:41 UTC
- Distribution: DataStore-CAS
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (423 / 2 / 1)
- Kwalitee
Bus factor: 1- 68.65% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (27.31KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
DataStore::CAS::FileCreatorHandle - Handle-emulation object used for writing content into a CAS
VERSION
version 0.020001
DESCRIPTION
Specialized instance of DataStore::CAS::VirtualHandle which writes to temporary space while hashing the data you write to it. No actual functionality is contained in this class- it just passes calls to the CAS implementation.
METHODS
This class extends the VirtualHandle interface with 5 new methods. Four of these methods would happen using the built-in AUTOLOAD, but they are enumerated as real methods for the sake of method introspection on handle objects.
commit
Closes the handle, commits all written data to the CAS, and returns the digest hash of that data. Passes through to C<$cas-E<gt>commit_write_handle($handle, ...)>
close
See IO::Handle API. Passes through to C<$cas-E<gt>_handle_close($handle, ...)>
seek
See IO::Handle API. Passes through to C<$cas-E<gt>_handle_close($handle, ...)>
tell
See IO::Handle API. Passes through to C<$cas-E<gt>_handle_close($handle, ...)>
write
See IO::Handle API. Passes through to C<$cas-E<gt>_handle_close($handle, ...)>
AUTHOR
Michael Conrad <mconrad@intellitree.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Michael Conrad, and 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 DataStore::CAS, copy and paste the appropriate command in to your terminal.
cpanm DataStore::CAS
perl -MCPAN -e shell install DataStore::CAS
For more information on module installation, please visit the detailed CPAN module installation guide.