Documentation
¶
Overview ¶
Package git wraps the go-git operations the resolver needs: resolving a ref to a commit SHA without fetching, listing a repo's tags, and cloning a repo at a specific ref into a directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
Clone clones the repo at url into dest and checks out ref. dest must not yet exist. Returns the resolved commit SHA.
func ListTags ¶ added in v0.6.0
ListTags returns the tag names defined on the remote at url, without the `refs/tags/` prefix. Peeled annotated-tag refs (the `^{}` entries) are excluded so each tag appears once. No local clone is created. Order is whatever the remote reports; callers that need ordering sort the result themselves.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.