Skip to main content

Module checkout

Module checkout 

Source
Expand description

What one checkout holds: the GitHub repositories in it, and the commit each is checked out at.

Read from git and from the declarations git reads — the superproject’s remote and every .gitmodules in the nesting tree — never from a list kept beside them. A submodule added this morning has issues too, and one removed stops being asked about.

Structs§

Repository
One repository of a checkout.

Functions§

head
The commit a checkout is on, or None when it has none yet.
origin_url
The URL of a repository’s origin, or None when it has none.
repositories
Every GitHub repository in a checkout: the superproject and every submodule in its nesting tree, parent before child.