//
pkg.gl
Category
gg-scm.io/pkg/git
githash
package
0.11.0
Repository:
https://github.com/gg-scm/gg-git.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
4
Files
150 SLOC
#
Functions
BranchRef
BranchRef returns a ref for the given branch name.
ParseSHA1
ParseSHA1 parses a hex-encoded SHA-1 hash.
TagRef
TagRef returns a ref for the given tag name.
#
Constants
FetchHead
FetchHead records the branch which was fetched from a remote repository with the last git fetch invocation.
Head
Head names the commit on which the changes in the working tree are based.
SHA1Size
SHA1Size is the number of bytes in a SHA-1 hash.
#
Type aliases
Ref
A Ref is a Git reference to a commit.
SHA1
A SHA1 is the SHA-1 hash of a Git object.