Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommit ¶
func NewCommit(id, subject, body, authorName, authorEmail, authorDate, committerName, committerEmail, committerDate []byte, parentIds ...string) (*pb.GitCommit, error)
NewCommit creates a commit based on the given elements
func SafeTimeParse ¶ added in v0.40.0
SafeTimeParse parses a git date string with the RFC3339 format. If the date is invalid (possibly because the date is larger than golang's largest value) it returns the maximum date possible.
func ValidateRevision ¶ added in v0.31.0
ValidateRevision checks if a revision looks valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.