revlist

package
v4.0.0-rc5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2016 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL