Bounded discovery of multiple Git repositories below the current
project root. This catches multirepo workspaces where the user's cwd
is a parent directory or a primary repo that vendors sibling/nested
repos outside .gitmodules.
Returns compact per-repo Git summaries for the system prompt. Full
status walks are bounded per repo by git/snapshot; the repository
scan itself is bounded by max files, max repos, and a wall-clock
deadline. Never throws.
Bounded discovery of multiple Git repositories below the current project root. This catches multirepo workspaces where the user's cwd is a parent directory or a primary repo that vendors sibling/nested repos outside `.gitmodules`. Returns compact per-repo Git summaries for the system prompt. Full status walks are bounded per repo by `git/snapshot`; the repository scan itself is bounded by max files, max repos, and a wall-clock deadline. Never throws.
(snapshot root)(snapshot root opts)Discover Git repositories below root and return compact summaries.
Shape: {:root <abs-root> :count 2 :repositories [{:path <relative-path> :root <abs-root> :branch <branch> ...}] :truncated? false}
Discover Git repositories below `root` and return compact summaries.
Shape:
{:root <abs-root>
:count 2
:repositories [{:path <relative-path> :root <abs-root> :branch <branch> ...}]
:truncated? false}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |