Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type FileData = (ByteString, Bool)
- buildFileTree :: MonadGit m => FileTree FileData -> m Sha1
- loadFileTree :: (MonadFail m, MonadGit m) => Sha1 -> m (FileTree FileData)
Documentation
type FileData = (ByteString, Bool) Source #
The contents of a file and its executability.
buildFileTree :: MonadGit m => FileTree FileData -> m Sha1 Source #
Write the contents of a FileTree
out to git and give back the new Tree
s Sha1
.
loadFileTree :: (MonadFail m, MonadGit m) => Sha1 -> m (FileTree FileData) Source #
Turn the Sha1
of a treeish into a FileTree
.