14 May 2013 06:53:16 UTC
- Distribution: DataStore-CAS-FS
- Module version: 0.011000
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (342 / 39 / 0)
- KwaliteeBus factor: 1
- 66.63% Coverage
- License: perl_5
- Perl: v5.8.1
- Download (53.86KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- Michael Conrad
DataStore::CAS::FS::DirCodec::Minimal - Directory representation with minimal metadata
This class packs a directory as a list of [type, hash, filename], which is very efficient, but omits metadata that you often would want in a backup.
This is primarily intended for making small frequent backups inbetween more thorough nightly backups.
$serialized= $class->encode( \@entries, \%metadata )
Serialize the given entries into a scalar.
Serialize the bare minimum fields of each entry. Each entry will have 3 pieces of data saved: type, name, and ref.
%metadatais encoded using JSON, which isn't very compact, but if you really want a minimal encoding you shouldn't supply metadata anyway.
$dir= $class->decode( %params )
encode, to create a Dir object.
See DirCodec->load for details on
Michael Conrad <firstname.lastname@example.org>
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::FS, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install DataStore::CAS::FS
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|