name: fslib version: 0.6 synopsis: File system abstractions using cryptographic hashes. 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-2011 Petr Rockai author: Petr Rockai maintainer: Petr Rockai category: System build-type: Custom cabal-version: >= 1.6 extra-source-files: Bundled/sha2.h, NEWS, testdata.zip flag test 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: -- Low-level filesystem access System.FSLib.IO System.FSLib.Path -- High-level (abstracted) filesystem interface System.FSLib.Blob System.FSLib.Tree System.FSLib.Index System.FSLib.Hash System.FSLib.TreeMonad System.FSLib.StoreMonad -- Implementations of the high-level interface System.FSLib.PlainTree System.FSLib.DarcsPristine -- A bit out of place here, but still useful. System.FSLib.Diff other-modules: Bundled.Posix Bundled.SHA256 System.FSLib.Utils Control.Monad.Lift build-depends: base >= 3 && < 5, strict, containers, transformers, mtl >= 2, directory, filepath, bytestring, extensible-exceptions, MonadCatchIO-transformers, dataenc, binary, zlib, mmap >= 0.5 && < 0.6, pathlib, iteratee >= 0.8 && < 0.9, lcs 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 Test.Common Test.Data Test.Posix Test.Utils Test.Hash Test.IO Test.Index Test.Tree Test.TreeMonad Test.DarcsPristine c-sources: Bundled/sha2.c if flag(test) build-depends: test-framework, test-framework-hunit, test-framework-quickcheck2, QuickCheck >= 2.3, HUnit, process >= 1.0.1, zip-archive else buildable: False source-repository head type: darcs location: http://repos.mornfall.net/fslib/