Skip to main content

Module archive

Module archive 

Source

Structs§

ArchiveEntry

Functions§

cleanup
disk_usage_bytes
format_hint
is_enabled
list_entries
retrieve
retrieve_head
Retrieve the first n lines of an archived entry, with a line-number gutter.
retrieve_json_keys
Describe the JSON structure of an archived entry: top-level keys with type hints, array lengths + element types, etc. An optional dot/slash path (e.g. data.items.0) navigates into the structure first. Returns None when the archive is missing or its content is not valid JSON, so callers can fall back to a raw retrieval hint.
retrieve_tail
Retrieve the last n lines of an archived entry, with a line-number gutter.
retrieve_with_range
retrieve_with_search
should_archive
store