Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentBranch ¶
CurrentBranch returns the current git branch name.
Types ¶
type RepoContext ¶
RepoContext holds a workspace and repo slug parsed from git remotes.
func DetectRepo ¶
func DetectRepo() (*RepoContext, error)
DetectRepo attempts to detect the Bitbucket workspace and repo from git remotes.
Click to show internal directories.
Click to hide internal directories.