Skip to main content

Module store

Module store 

Source

Structs§

Note
A reviewer’s note on one line of a change.
NoteStore
Review notes, kept in <git common dir>/declutter/notes.json until cleared or posted. A store can be scoped to one review; it then reads and writes only that review’s notes, and leaves the others alone.
ReviewStore
Which changes the reviewer has marked as reviewed. A mark belongs to a file’s exact change — its path and both versions — so it lapses as soon as either version moves, and it carries over between ranges that contain the same change.

Enums§

NoteSide
Which version of the file a note’s line number refers to.

Functions§

state_dir
<git common dir>/declutter: per-clone state, shared by worktrees, never committed.