Expand description
The on-disk store: one issues.org per project, parsed and rewritten whole.
Structs§
- Issue
Doc - One project’s
issues.org: a preamble followed by top-level headings.
Functions§
- collect_
org_ ids - default_
preamble - The header a fresh project file gets.
- detect_
project_ from_ ctx - Walk up from
startfor a.project-ctx.tomland read[project].name. - find_
by_ id - Locate one issue by id across every project.
- find_
org_ ids - Every
:ID:value in any org file under the layout prefix. A:PARENT:may point at a design document rather than at another issue. Look forwantedamong the:ID:values in the tree, stopping as soon as every one has been seen. - generate_
id <project>-<base36 suffix>, retried until it does not collide.- list_
projects - Every project directory under the layout prefix that holds an
issues.org. - load_
all - Snapshot every heading across every project, tagged with its project.
- project_
selected - Whether a project belongs to a
--projectselection. - replace_
file_ atomically - Replace
pathwithbodythrough a flushed temporary and a rename. - resolve_
existing_ project_ case - Map a project name onto the directory that already exists, ignoring case.
An unmatched name is returned unchanged so
createcan make it. - with_
issues_ lock - Serialize every read-modify-write cycle on one
issues.org. - with_
issues_ locks - Lock several files in sorted order, which makes a cross-project move deadlock-free.