package
4.0.0-rc4+incompatible
Repository: https://github.com/powerman/go-git.git
Documentation: pkg.go.dev

# Packages

Package clients includes the implementation for diferent transport protocols go-git needs the packfile and the refs of the repo.
No description provided by the author
No description provided by the author

# Functions

ComputeHash compute the hash for a given ObjectType and content.
NewHash return a new Hash from a hexadecimal hash representation.
No description provided by the author
NewHashReference creates a new HashReference reference.
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.
NewSymbolicReference creates a new SymbolicReference reference.
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
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

ErrInvalidType is returned when an invalid object type is provided.
No description provided by the author
No description provided by the author
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

Object is a generic representation of any git object.

# Type aliases

Hash SHA1 hased content.
ObjectType internal object type Integer values from 0 to 7 map to those exposed by git.
ReferenceName reference name's.
ReferenceType reference type's.