miss-porcelain-0: Useability extras built on top of miss.

Safe HaskellNone
LanguageHaskell2010

Data.Git.FileTree

Description

 
Synopsis

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 Trees Sha1.

loadFileTree :: (MonadFail m, MonadGit m) => Sha1 -> m (FileTree FileData) Source #

Turn the Sha1 of a treeish into a FileTree.