Documentation ¶
Index ¶
- func Branch(repo *git.Repository) (string, error)
- func Dirty(repo *git.Repository) (bool, error)
- func FindDotGit(cwd string) (root string, repo *git.Repository, err error)
- func Head(repo *git.Repository) (plumbing.Reference, error)
- func Origin(repo *git.Repository) (*url.URL, error)
- func Sha(repo *git.Repository) (string, error)
- type DotGit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindDotGit ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.