Skip to main content

Module storage

Module storage 

Source
Expand description

Persistence layer.

Read and write backlog items as Markdown (TOML frontmatter plus body), one item per file. Repository traits keep persistence separate from the domain layer and make backends replaceable in tests.

Frontmatter is TOML between +++ delimiters and uses the same serialization format as config.toml, keeping the data human-editable.

Structs§

BoardLock
Advisory RAII guard that serializes board writes.
FileRepository
BacklogItemRepository and SprintRepository implementation backed by the .pinto/ directory.
GitRepository
File persistence with a thin Git-commit layer.

Enums§

Backend
Persistence backend selected in configuration.
StorageBackend
Storage backend selected for the board.

Traits§

BacklogItemRepository
SprintRepository
Persistence operations for sprints.

Functions§

parse_item_markdown
Parse a backlog item’s +++ TOML frontmatter and Markdown body.