Expand description
The data folder: one NNNN-slug.md file per task, tags.md, and exported reports in reports/.
Structs§
- Brain
Lock - A brain’s write lock, held until dropped (see
Store::lock). - Change
- A file a change wrote or deleted: what it held before and after,
Nonewhere it didn’t exist. - Store
- The data folder where tasks are stored.
Enums§
- Undo
Error - Why changes can’t be undone.
Constants§
- PROJECT_
DIR - A project’s own data folder, found by walking up from the current directory like
.git.
Functions§
- find_
project - The nearest
.brain/folder instartor one of its parents. - undo
- Puts the files
changeswrote back as they were before, last change first. Nothing is written unless every file still holds what the changes left in it.