package
1.53.0
Repository: https://gitlab.com/gitlab-org/cli.git
Documentation: pkg.go.dev

# Functions

FromFullName extracts the GitLab repository information from the following formats: "OWNER/REPO", "HOST/OWNER/REPO", "HOST/GROUP/NAMESPACE/REPO", and a full URL.
FromURL extracts the GitLab repository information from a git remote URL.
FullName returns the the repo with its namespace (like profclems/glab).
IsSame compares two GitLab repositories.
New instantiates a GitLab repository from owner and repo name arguments.
NewWithGroup instantiates a GitLab repository from group, namespace and repo name arguments.
NewWithHost is like New with an explicit host name.
RemoteURL returns correct git clone URL of a repo based on the user's git_protocol preference.
No description provided by the author
No description provided by the author
TODO: accept an interface instead of git.RemoteSet.

# Structs

No description provided by the author
Remote represents a git remote mapped to a GitLab repository.
No description provided by the author

# Interfaces

Interface describes an object that represents a GitLab repository Contains methods for these methods representing these placeholders for a project path with :host/:group/:namespace/:repo RepoHost = :host, RepoOwner = :group/:namespace, RepoNamespace = :namespace, FullName = :group/:namespace/:repo, RepoGroup = :group, RepoName = :repo.

# Type aliases

Remotes represents a set of git remotes.