Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/book/file-contentstore
A store for file content built with hard links
https://github.com/book/file-contentstore
Last synced: about 1 month ago
JSON representation
A store for file content built with hard links
- Host: GitHub
- URL: https://github.com/book/file-contentstore
- Owner: book
- Created: 2018-04-03T08:22:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-26T00:02:13.000Z (about 5 years ago)
- Last Synced: 2024-10-03T12:36:23.220Z (4 months ago)
- Language: Perl
- Homepage: http://metacpan.org/pod/File::ContentStore
- Size: 102 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
File::ContentStore - A store for file content built with hard links
SYNOPSIS
use File:::ContentStore;
# the 'path' argument is expected to exist
my $store = File:::ContentStore->new( path => "$ENV{HOME}/.photo_content" );
$store->link_dir( @collection_of_photo_directories );DESCRIPTION
This module manages a "content store" as a collection of hard links to a set
of files. The files in the content store are named after the digest of the
content in the file.When linking a new file to the content store, a hard link is created to
the file, named after the digest of the content. When a file which content
is already in the store is linked in, the file is hard linked to the
content file in the store.AUTHOR
Philippe Bruhat (BooK) .
COPYRIGHT
Copyright 2018 Philippe Bruhat (BooK), all rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.