Module core

Module core 

Source
Expand description

FileStore struct and CRUD operations.

Structs§

FileStore
SQLite-backed file storage with write-through cache.

Constants§

CACHE_TTL_SECS
Clean cache entries idle longer than this are evicted during flush.
DEFAULT_FLUSH_SECS
Default flush interval in seconds.
MAX_CACHE_BYTES
Hard cap on the total byte size held in the metadata cache (128 MB). When this is exceeded, LRU eviction removes the oldest entries first.
PART_DATA_SIZE 🔒
Default part size: 64KB (matches Go’s DefaultPartDataSize).