Skip to main content

Module git

Module git 

Source
Expand description

Git source adapter primitives.

Structs§

FetchOptions
Options controlling git fetch behavior.

Functions§

fetch
is_github_host
Return true when the URL host resolves to github.com.
list_versions
ls_remote_head
Run git ls-remote <url> HEAD and 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.