Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct{}
func (Git) GetCurrentBranchNameFromNativeGitCmd ¶
Gets the current branch name
func (Git) GetLatestCommitOnRemote ¶
func (Git) GetProjectUrlFromNativeGitCmd ¶
Gets the project SSH or HTTPS url
func (Git) RefreshProjectInfo ¶
Pulls down latest commit information from Gitlab
type GitData ¶
func NewGitData ¶
func NewGitData(remote string, gitlabUrl string, g GitManager) (GitData, error)
Extracts information about the current repository and returns it to the client for initialization. The current directory must be a valid Gitlab project and the branch must be a feature branch
func (GitData) ProjectPath ¶
projectPath returns the Gitlab project full path, which isn't necessarily the same as its name. See https://docs.gitlab.com/ee/api/rest/index.html#namespaced-path-encoding for more information.
Click to show internal directories.
Click to hide internal directories.