Expand description
Session persistence: one file per review source under .diffler/reviews/.
Legacy .diffler/session.json migrates to reviews/working.json, and a
walkthrough embedded in an older review file splits into its own
walkthrough-<id>.json on load.
Enums§
Functions§
- delete_
source - Remove a source’s review file. A missing file is fine.
- ensure_
dir - Create
.diffler/with a.gitignorethat ignores everything in it. - load
- load_
all - Every persisted review sorted by key, plus each corrupt file’s path. We list the directory up front so a walkthrough split mid-scan stays out of this call.
- load_
source - The working tree falls back to the legacy file, which the next
save_sourcemigrates. - save
- save_
source - Saving the working tree removes the legacy file.
- write_
atomic - Replace
paththrough a temp file and rename. We write through a symlink to its target and keep the target’s permissions. - write_
file
Type Aliases§
- Loaded
Reviews - Every review
load_allfound, plus the path of each file that would not parse.