# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
package hash provides a way for managing the underlying hash implementations used across go-git.
Package object contains implementations of all Git objects and utility functions to work with them.
No description provided by the author
Package revlist provides support to access the ancestors of commits, in a similar way as the git-rev-list command.
No description provided by the author
Package storer defines the interfaces to store objects, references, etc.
Package transport includes the implementation for different transport protocols.
# Functions
ComputeHash compute the hash for a given ObjectType and content.
HashesSort sorts a slice of Hashes in increasing order.
IsHash returns true if the given string is a valid hash.
NewBranchReferenceName returns a reference name describing a branch based on his short name.
NewHash return a new Hash from a hexadecimal hash representation.
No description provided by the author
NewHashReference creates a new HashReference reference.
NewNoteReferenceName returns a reference name describing a note based on his short name.
No description provided by the author
NewReferenceFromStrings creates a reference from name and target as string, the resulting reference can be a SymbolicReference or a HashReference base on the target provided.
NewRemoteHEADReferenceName returns a reference name describing a the HEAD branch of a remote.
NewRemoteReferenceName returns a reference name describing a remote branch based on his short name and the remote name.
NewSymbolicReference creates a new SymbolicReference reference.
NewTagReferenceName returns a reference name describing a tag based on short his name.
No description provided by the author
ParseObjectType parses a string representation of ObjectType.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
5 reserved for future expansion.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrInvalidReferenceName is returned when a reference name is invalid.
ErrInvalidType is returned when an invalid object type is provided.
No description provided by the author
No description provided by the author
RefRevParseRules are a set of rules to parse references into short names, or expand into a full reference.
ZeroHash is Hash with value zero.
# Structs
No description provided by the author
MemoryObject on memory Object implementation.
No description provided by the author
Reference is a representation of git reference.
No description provided by the author
# Interfaces
DeltaObject is an EncodedObject representing a delta.
Object is a generic representation of any git object.
# Type aliases
Hash SHA1 hashed content.
HashSlice attaches the methods of sort.Interface to []Hash, sorting in increasing order.
ObjectType internal object type Integer values from 0 to 7 map to those exposed by git.
ReferenceName reference name's.
ReferenceType reference type's.
Revision represents a git revision to get more details about git revisions please check git manual page : https://www.kernel.org/pub/software/scm/git/docs/gitrevisions.html.