Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.