Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRepoPath ¶ added in v0.19.0
BuildRepoPath constructs a repository path from a Git endpoint. Uses string concatenation to preserve forward slashes, which is required for Go module paths even on Windows.
Types ¶
type CloneOptions ¶
type CloneOptions struct {
Depth int
}
type GitFetcher ¶
type GitFetcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(cacheDir string, options CloneOptions) *GitFetcher
type Reference ¶
type Reference struct {
// contains filtered or unexported fields
}
Reference is a reference to either a commit/branch/partial/tag, or an annotated tag
func NewReference ¶
Click to show internal directories.
Click to hide internal directories.