Documentation
¶
Overview ¶
Package git contains implementations of Git objects that are useful to compute the version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { // Hash of the commit object. Hash Hash // Author is the original author of the commit. Author Signature // Committer is the one performing the commit. // It might be different from Author. Committer Signature // Message is the commit message, contains arbitrary text. Message string }
Commit data
type Hash ¶
type Hash string
Hash of commit
type Signature ¶
type Signature struct { // Name represents a person name. It is an arbitrary string. Name string // Email is an email, but it cannot be assumed to be well-formed. Email string // When is the timestamp of the signature. When time.Time }
Signature is used to identify who and when created a commit or tag.
Click to show internal directories.
Click to hide internal directories.