Safe Haskell | None |
---|

- listObjects :: Repository m => Maybe (CommitOid m) -> CommitOid m -> Bool -> m [ObjectOid m]
- traverseObjects :: Repository m => (ObjectOid m -> m a) -> CommitOid m -> m [a]
- traverseObjects_ :: Repository m => (ObjectOid m -> m ()) -> CommitOid m -> m ()
- expandTreeObjects :: Repository m => Conduit (ObjectOid m) m (ObjectOid m)
- listAllObjects :: Repository m => Maybe (CommitOid m) -> CommitOid m -> m [ObjectOid m]

# Documentation

traverseObjects :: Repository m => (ObjectOid m -> m a) -> CommitOid m -> m [a]Source

traverseObjects_ :: Repository m => (ObjectOid m -> m ()) -> CommitOid m -> m ()Source

expandTreeObjects :: Repository m => Conduit (ObjectOid m) m (ObjectOid m)Source

Given a list of objects (commit and top-level trees) return by
`listObjects`

, expand it to include all subtrees and blobs as well.
Ordering is preserved.

listAllObjects :: Repository m => Maybe (CommitOid m) -> CommitOid m -> m [ObjectOid m]Source