Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommitsCmd ¶
Types ¶
type Commit ¶
type Commit struct { // Hash of the commit object. Hash Hash // Author is the original author of the commit. Author object.Signature // Committer is the one performing the commit, might be different from // Author. Committer object.Signature // PGPSignature is the PGP signature of the commit. PGPSignature string // Message is the commit message, contains arbitrary text. Message string // TreeHash is the hash of the root tree of the commit. TreeHash Hash // ParentHashes are the hashes of the parent commits of the commit. ParentHashes []Hash }
Commit is a marshalling-friendly object.Commit.
func (Commit) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.