gitlib-2.1.0.0: API library for working with Git repositories

Safe HaskellNone

Git.Tree.Builder.Pure

Synopsis

Documentation

newPureTreeBuilder :: Repository m => (Tree m -> m (EntryHashMap m)) -> (EntryHashMap m -> m (TreeOid m)) -> Maybe (Tree m) -> m (TreeBuilder m)Source

Create a new, empty tree.

Since empty trees cannot exist in Git, attempting to write out an empty tree is a no-op.