Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitLab ¶ added in v0.20.0
type GitLab struct { OwnerName string RepoName string BranchName string TreeEntries []*gl.TreeNode // contains filtered or unexported fields }
GitLab struct holds important data about a gitlab repo
func (*GitLab) FilePathToRawURI ¶ added in v0.20.0
GetBaseURI returns the base URI of the repo You can pass the relative path to a file of that repo to receive the complete raw url for said file. Or you pass an empty string resulting in the base of the raw url for files of this repo.
func (*GitLab) LoadTreeEntries ¶ added in v0.20.0
GetTreeEntries gets the paths and types of the repo tree
Click to show internal directories.
Click to hide internal directories.