-
-
14 May 2013 06:53:16 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (339 / 39 / 0)
- Kwalitee
Bus factor: 1- 66.63% Coverage
- License: perl_5
- Perl: v5.8.1
- Activity
24 month- Tools
- Download (53.86KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Michael Conrad
- Dependencies
- Carp
- DataStore::CAS
- Fcntl
- File::Spec
- File::Spec::Functions
- JSON
- Moo
- Scalar::Util
- Socket
- Try::Tiny
- overload
- parent
- strict
- warnings
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.011000 - 2013-05-13
- Switched to a 3-decimal version string.
- Renamed accessors in Path objects from 'path_ent*' to 'path_dirent*', and 'final_ent' to 'dirent'. This is an API change, but I don't think anyone is using this module yet anyway.
- Added $path->resolved_canonical_path convenience method to quickly get a unix path string like "/a/b/c" from a $path object. (mostly useful for filters) Also added ->canonical_path for a quick rendering of the path that was passed to it.
- Added other helpful accessors for path objects: 'type', 'name', 'depth'. Added new methods 'mkdir', 'path_if_exists'.
- Enhanced path resolving, so that a resolved path which you request a subpath from will return a partially-resolved path object, speeding up the "for($path->readdir) { $path->path($_) }" pattern.
- Added $fs->get_dir_entries, $fs->readdir, and $path->readdir, which return a list of directory entries *including* the current un-committed overrides.
- Added $fs->tree_iterator, and $path->tree_iterator, which runs a similar operation to the unix 'find' command on the virtual filesystem.
- Fixed the $fs->unlink feature, which was completely broken before, and added test cases.
Modules
Virtual Filesystem backed by Content-Addressable StorageObject representing a directory of file entries, indexed by filename.Abstract base class for directory encoder/decodersDirectory representation with minimal metadataCodec for saving all arbitrary fields of a DirEntEfficiently encode only the attributes of a UNIX stat()Light-weight Immutable Directory Entry ObjectCopy files from DataStore::CAS::FS to real filesystem.Copy files from filesystem into DataStore::CAS::FS.Wrapper to represent non-utf8 data in a unicode contextProvides
in lib/DataStore/CAS/FS.pmin lib/DataStore/CAS/FS.pmin lib/DataStore/CAS/FS/DirCodec/Minimal.pmin lib/DataStore/CAS/FS/DirCodec/Unix.pmin lib/DataStore/CAS/FS/Importer.pmin lib/DataStore/CAS/FS.pmin lib/DataStore/CAS/FS.pmModule Install Instructions
To install DataStore::CAS::FS, copy and paste the appropriate command in to your terminal.
cpanm DataStore::CAS::FS
perl -MCPAN -e shell install DataStore::CAS::FS
For more information on module installation, please visit the detailed CPAN module installation guide.