Expand description
The reasoning recorded for commits, as borg why and regress.rs look it up: a commit’s borg
note (notes.rs) or else the excerpt the collective’s reasoning.jsonl holds, each only where it
may be shown (visible). One notes list plus one cat-file --batch, and one read of the store.
Functions§
- git_in
- git in
dir, withinputon stdin (written from a thread so a large output cannot block it). - notes_
of - The borg notes of
shasthat are visible inhere, by commit: onenotes listfor the note objects and onecat-file --batchfor the notes ofshasthat have one. - reasoning_
for - The reasoning visible in
herefor each ofshas: its note, else the newest store excerpt. - stored_
of - The newest excerpt visible in
herefor each ofshas, from the store’s reasoning.jsonl, read once. - visible
- Whether an excerpt tagged
tagmay be shown in collectivehere(module doc).