Skip to main content

Module fetch

Module fetch 

Source

Functions§

cleanup
Remove a temporary directory, ignoring errors.
resolve_head_sha
Resolve the full commit SHA of HEAD in a cloned repository.
resolve_subfolder
Return the path to subfolder inside clone_dir, or an error if missing.
shallow_clone
Shallow-clone a git repository into dest/<dir_name>.
url_from_purl
Resolve the git clone URL from a PURL namespace.