Documentation
¶
Overview ¶
Package git implements go-repo-utils interfaces.
Index ¶
- func Add(path string, file string) error
- func Commit(path string, message string, files []string) error
- func CreateTag(path string, tag string, message string) (bool, string, error)
- func GetFirstRevision(path string) (string, error)
- func GetRevisionTag(path string, tag string) (string, error)
- func IsClean(path string) (bool, error)
- func IsIt(path string) bool
- func List(path string) ([]string, error)
- func ListCommitsBetween(path string, since string, to string) ([]commit.Commit, error)
- func ParseGitLog(logs string) []commit.Commit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFirstRevision ¶
GetFirstRevision returns the first revision of the repostiory
func GetRevisionTag ¶
GetRevisionTag get the revision of a tag
func ListCommitsBetween ¶
ListCommitsBetween List commits between two points
func ParseGitLog ¶
ParseGitLog parses git loh output to a list of commits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.