package
0.11.0
Repository: https://github.com/gg-scm/gg-git.git
Documentation: pkg.go.dev

# Functions

AppendPrefix appends a Git object prefix (e.g.
BlobSum computes the Git SHA-1 object ID of the blob with the given content.
MakeUser constructs a User string from a name and an email address.
ParseCommit deserializes a commit in the Git object format.
ParseTag deserializes a tag in the Git object format.
ParseTree deserializes a tree in the Git object format.

# Constants

ModeDir indicates a subdirectory.
ModeExecutable indicates an executable file.
ModeGitlink indicates a Git submodule.
ModePlain indicates a non-executable file.
ModePlainGroupWritable indicates a non-executable file.
ModeSymlink indicates a symbolic link.
Object types.
Object types.
Object types.
Object types.

# Structs

A Commit is a parsed Git commit object.
Prefix is a parsed Git object prefix like "blob 42\x00".
A Tag is a parsed Git tag object.
A TreeEntry represents a single file in a Git tree object.

# Type aliases

CommitFields is a block of lines, conventionally in the form "key value".
Mode is a tree entry file mode.
A Tree is a Git tree object: a flat list of files in a directory.
Type is an enumeration of Git object types.
User identifies an author or committer as a string like "Octocat <[email protected]>".