tahoe-chk-0.2.0.0: The Tahoe-LAFS' Content-Hash-Key (CHK) cryptographic protocol.
Safe HaskellNone
LanguageHaskell2010

Tahoe.Server

Synopsis

Documentation

nullStorageServer :: StorageServer Source #

Create a StorageServer that discards writes to it and throws errors on reads.

memoryStorageServer :: IO StorageServer Source #

Create a storage server backed only by in-memory data.

directoryStorageServer :: FilePath -> StorageServer Source #

Create a storage server backed by a certain directory which already exists.

directoryStorageServer' :: FilePath -> IO StorageServer Source #

Create a storage server backed by a certain directory which may or may not already exist.