Index
files
¶
The files memory backend: journaled, custody-checked scope-tree memory on disk.
Classes¶
FilesBackend
¶
memory-backend/1.1 over Markdown tier files; see the module docstring.
Source code in src/marianne/memory/backends/files/backend.py
Methods:¶
close
¶
Release this binding's claim on its tree (idempotent).
Source code in src/marianne/memory/backends/files/backend.py
reconcile
¶
Adopt the tiers as they are on disk (admin). Never rewrites a tier.
Source code in src/marianne/memory/backends/files/backend.py
FilesBackendConfig
¶
Bases: BaseModel
One files-backend attachment, as the gateway hands it to the factory.
FilesLocation
dataclass
¶
Where one scope's files live: the tier tree, its attachment dir, the state root.
Functions:¶
files_backend_factory
¶
Build a :class:FilesBackend from an attachment config. Does no I/O.
resolve_files_location
¶
Map a scope onto its scope-family tree under root.
project/demo -> <root>/project/demo; local:default ->
<root>/local/default; organization/x -> <root>/org/x. Writer
state for every tree lives under <root>/trees. A scope that would
resolve outside root is refused (E3 scope_unknown). No I/O.