Git repository cloning, update and existence-check operations.
Summary
Functions
Clones a repository from url to path.
Clones a repository from a URL to a target path.
Ensures a repository is cloned. If it already exists, updates it.
Returns a tree string of existing (already-cloned) repositories from a list
of {:repo_exists | :repo_error, map(), ...} tuples.
Fetches all changes from origin.
Fetches repository updates from origin.
Updates an existing repository by fetching from origin.
Functions
Clones a repository from url to path.
Clones a repository from a URL to a target path.
@spec ensure_clone(nil) :: {:error, :no_repo_defined}
Ensures a repository is cloned. If it already exists, updates it.
Accepts a single repo map, a list of repo maps, or nil.
Returns a tree string of existing (already-cloned) repositories from a list
of {:repo_exists | :repo_error, map(), ...} tuples.
Fetches all changes from origin.
Fetches repository updates from origin.
Updates an existing repository by fetching from origin.