Documentation ¶
Overview ¶
Package revlist implements functions to walk the objects referenced by a commit history. Roughly equivalent to git-rev-list command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Objects ¶
func Objects( s storer.EncodedObjectStorer, commits []*object.Commit, ignore []plumbing.Hash) ([]plumbing.Hash, error)
Objects applies a complementary set. It gets all the hashes from all the reachable objects from the given commits. Ignore param are object hashes that we want to ignore on the result. It is a list because is easier to interact with other porcelain elements, but internally it is converted to a map. All that objects must be accessible from the object storer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.