Structs§
Functions§
- cleanup
- Prune archived entries that exceed the age TTL (
max_age_hours) or that push the on-disk store past its size budget (max_disk_mb). The content file, metadata, and FTS index are removed together so the two stores stay in sync. Returns the number of entries removed. - disk_
usage_ bytes - format_
hint - is_
enabled - list_
entries - remove_
files - Remove only the on-disk content + metadata files for an archive id, leaving
the FTS index untouched. Used by the FTS cap-enforcer so the
.txt/.meta.jsonblobs of rows it evicts can’t outlive their index entry as orphans (#417). - retrieve
- retrieve_
head - Retrieve the first
nlines of an archived entry, with a line-number gutter. - retrieve_
json_ keys - Describe the JSON structure of an archived entry.
- retrieve_
tail - Retrieve the last
nlines of an archived entry, with a line-number gutter. - retrieve_
with_ range - retrieve_
with_ search - should_
archive - store