Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype UUID = UUID ByteString
- data Location = L !UUID !Name
- data Object (m :: * -> *)
- = Directory DirContent
- | Blob (m FileContent) !Hash
- data ObjectMap (m :: * -> *) = ObjectMap {}
- type DirContent = Map Name UUID
- type FileContent = ByteString
- isBlob :: Object m -> Bool
- isDirectory :: Object m -> Bool
- data Name
Documentation
data ObjectMap (m :: * -> *) Source #
type ApplyMonadStateOperations ObjectMap Source # | |
type ApplyMonadOver ObjectMap m Source # | |
type ApplyMonadBase (StateT (ObjectMap m) m) Source # | |
type FileContent = ByteString Source #
isDirectory :: Object m -> Bool Source #