Expand description
FileStore struct and CRUD operations.
Structs§
- File
Store - 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).