Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype FilesystemBackend = FilesystemBackend FilePath
- storageStartSegment :: StorageIndex -> FilePath
- partitionM :: Monad m => (a -> m Bool) -> [a] -> m ([a], [a])
- pathOfShare :: FilePath -> StorageIndex -> ShareNumber -> FilePath
- incomingPathOf :: FilePath -> StorageIndex -> ShareNumber -> FilePath
Documentation
newtype FilesystemBackend Source #
Instances
partitionM :: Monad m => (a -> m Bool) -> [a] -> m ([a], [a]) Source #
Partition a list based on the result of a monadic predicate.
pathOfShare :: FilePath -> StorageIndex -> ShareNumber -> FilePath Source #
incomingPathOf :: FilePath -> StorageIndex -> ShareNumber -> FilePath Source #