96e0398616
hash-based storage. PR: ports/100622 Submitted by: Gea-Suan Lin <gslin at gslin.org>
16 lines
735 B
Text
16 lines
735 B
Text
File-HStore is a very minimalist perl library to store files on a
|
|
filesystem using a very simple hash-based storage.
|
|
|
|
File-HStore is nothing more than a simple wrapper interface to a
|
|
storage containing a specific directory structure where files are hold
|
|
based on their hashes. The name of the directories is based on the
|
|
first two bytes of the hexadecimal form of the digest. The file is
|
|
stored and named with its full hexadecimal form in the corresponding
|
|
prefixed directory.
|
|
|
|
The current version is supporting the SHA-1 and SHA-2 (256 bits)
|
|
algorithm. The FAT (Free Archive Toolkit) format is also supported and
|
|
it is composed of the date of submission plus the SHA-2 real digest
|
|
part.
|
|
|
|
WWW: http://search.cpan.org/dist/File-HStore/
|