Skip to main content

Module git_clone

Module git_clone 

Source
Expand description

GitClone action — mirror a remote git repository into a local path. GitClone action — fetches a git repository into a local path.

Shells out to the git CLI rather than linking git2 (no C bindings, faster compile, and git is a hard requirement on every dev/CI host anyway). Every spawned subprocess is raced against the Ctx::cancel token via tokio::select! so the orchestrator’s FailFast mode can short-circuit a long-running clone.

Structs§

GitClone
Action that mirrors a remote git repository into a local working tree.