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.
Constants§
- ID_
SEED_ ENV - Environment variable that pins the id seed.
Functions§
- collect_
org_ ids - Every
:ID:value in any org file under the layout prefix. - 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 - Look for
wantedamong every:ID:under the layout prefix, including design documents and notes, and stop once every requested id has been seen. Returns the subset that exists. - generate_
id - A free
project-suffixid, or an error when the space is full. - 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.