Structs§
Enums§
Constants§
- DEFAULT_
LIMIT - Default per-query record cap.
- MAX_
CONTENT_ BYTES - Maximum content length per record (UTF-8 byte length).
Functions§
- append
- Append one record. Validates namespace, content size. Atomic per-line via O_APPEND.
- list_
namespaces - List existing namespaces under the memory dir.
- memory_
dir - Path to the memory directory under base. Caller creates dirs lazily.
- new_
record - Build a record with
now_ms()timestamp. - now_ms
- Current Unix epoch in milliseconds.
- query
- Query records in a namespace, applying filters, returning most-recent-first up to limit.