Expand description
Git source adapter — strategy and public API.
Delegates to git_cli for git CLI operations and archive for
GitHub archive download/extraction.
Structs§
- Fetch
Options - Options controlling git fetch behavior.
Functions§
- fetch
- fetch_
commit - Fetch a git source at an exact locked commit without resolving a live ref first.
- is_
github_ host - Return true when the URL host resolves to github.com.
- list_
versions - ls_
remote_ head - Run
git ls-remote <url> HEADand return the default-branch SHA. - ls_
remote_ tags - Run
git ls-remote --tags <url>and parse semver tags. - url_
to_ dirname - Normalize a git URL to a filesystem-safe directory name.