package
0.0.0-20230421164631-af6ef3e6c8db
Repository: https://github.com/rameshvarun/got.git
Documentation: pkg.go.dev
# Functions
CalculateHash calculates the hash of a byte slice.
DeserializeCommitObject returns a commit object deserialized from the given byte stream.
DeserializeHashes deserializes a list of hashes.
DeserializeTreeObject returns a commit object deserialized from the given byte stream.
NewTreeObject creates a new TreeObject.
SerializeHashes serializes a list of hashes.
# Variables
Represents the hash of an empty object.
# Structs
CommitObject represents a commit, with its associated metadata and directory snapshot.
DirectoryEntry represents one entry in a TreeObject.
TreeObject represents a directory.
# Type aliases
ByFileName implements sort.Interface for []Person based on the Age field.
Hash represents the result of a SHA-256 Hash.