Documentation
¶
Index ¶
- func CheckGitRemoteStatus(repo *git.Repository, githubToken string) (commonAncestor string, behind int, ahead int, err error)
- func GetEmtpyGitProjectStatus() *watchdog.GitProjectStatus
- func GetGitHubVisibility(client *github.Client, owner string, repo string) (visibility string, is_private bool, err error)
- func GetGitOpenIssues(client *github.Client, owner *string, repo *string) (int, error)
- func GetGitOpenPR(client *github.Client, owner *string, repo *string) (int, error)
- func GetGitStatus(worktree *git.Worktree) (git.Status, error)
- func GetGitUser(repo *git.Repository) (string, error)
- func GetRepoMetadata(localRepo *git.Repository) (string, error)
- func GetStashCount(worktree *git.Worktree) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGitRemoteStatus ¶
func GetEmtpyGitProjectStatus ¶
func GetEmtpyGitProjectStatus() *watchdog.GitProjectStatus
func GetGitHubVisibility ¶
func GetGitHubVisibility(client *github.Client, owner string, repo string) (visibility string, is_private bool, err error)
returns the github visibility, and checks if the repo is private
func GetGitOpenIssues ¶
func GetGitOpenPR ¶
func GetGitUser ¶
func GetGitUser(repo *git.Repository) (string, error)
func GetRepoMetadata ¶
func GetRepoMetadata(localRepo *git.Repository) (string, error)
getRepoMetadata inspects the local .git config to find the owner and repo name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.