Skip to main content

Module sidecar_notes

Module sidecar_notes 

Source
Expand description

13a: the hooks’ small notes in a brain’s sidecar directory (the per-session stamps): names start with hook. and are 1 to 80 of a-z0-9.-, so they never collide with the lock files.

Functions§

prune
Remove the notes named prefix* last written more than older_than ago; returns how many went. Best effort.
read
A note’s line, if the directory and the note are there.
write
Write a note (creating the checked directory if needed).