name: hashed-storage
version: 0.4.0
synopsis: Hashed file storage support code.
description: Support code for reading and manipulating hashed file storage
(where each file and directory is associated with a
cryptographic hash, for corruption-resistant storage and fast
comparisons).
.
The supported storage formats include darcs hashed pristine, a
plain filesystem tree and an indexed plain tree (where the index
maintains hashes of the plain files and directories).
license: BSD3
license-file: LICENSE
copyright: 2009 Petr Rockai <me@mornfall.net>
author: Petr Rockai <me@mornfall.net>
maintainer: Petr Rockai <me@mornfall.net>
category: System
build-type: Custom
cabal-version: >= 1.6
extra-source-files: Bundled/sha2.h, NEWS, testdata.zip
flag test
default: False
flag diff
default: False
flag hpc
default: False
library
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
ghc-options: -Wall -O2
ghc-prof-options: -prof -auto-all -O2
if flag(hpc)
ghc-prof-options: -fhpc
exposed-modules:
Storage.Hashed
Storage.Hashed.AnchoredPath
Storage.Hashed.Index
Storage.Hashed.Monad
Storage.Hashed.Tree
Storage.Hashed.Hash
Storage.Hashed.Packed
Storage.Hashed.Plain
Storage.Hashed.Darcs
if flag(diff)
exposed-modules:
Storage.Hashed.Diff
build-depends: lcs
other-modules:
Bundled.Posix
Bundled.SHA256
Storage.Hashed.Utils
build-depends: base >= 3 && < 5,
containers,
mtl,
directory,
filepath,
bytestring,
extensible-exceptions,
dataenc,
binary,
zlib,
mmap >= 0.4 && < 0.5
c-sources: Bundled/sha2.c
extensions: PatternSignatures, NoMonomorphismRestriction
executable hashed-storage-test
if impl(ghc >= 6.8)
ghc-options: -fwarn-tabs
ghc-options: -Wall -O2
ghc-prof-options: -prof -auto-all -O2
if flag(hpc)
ghc-prof-options: -fhpc
main-is: test.hs
other-modules: Bundled.Posix
Storage.Hashed.Test
c-sources: Bundled/sha2.c
if flag(test)
build-depends: test-framework,
test-framework-hunit,
test-framework-quickcheck2,
QuickCheck >= 2, HUnit, process >= 1.0.1, zip-archive
else
buildable: False
source-repository head
type: darcs
location: http://repos.mornfall.net/hashed-storage/