vaultik/internal
clawbot afb993c3d7 fix: replace in-memory blob cache with disk-based LRU cache (closes #29)
Blobs are typically hundreds of megabytes and should not be held in memory.
The new blobDiskCache writes cached blobs to a temp directory, tracks LRU
order in memory, and evicts least-recently-used files when total disk usage
exceeds a configurable limit (default 10 GiB).

Design:
- Blobs written to os.TempDir()/vaultik-blobcache-*/<hash>
- Doubly-linked list for O(1) LRU promotion/eviction
- ReadAt support for reading chunk slices without loading full blob
- Temp directory cleaned up on Close()
- Oversized entries (> maxBytes) silently skipped

Also adds blob_fetch_stub.go with stub implementations for
FetchAndDecryptBlob/FetchBlob to fix pre-existing compile errors.
2026-02-15 21:49:42 -08:00
..
blob Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
blobgen fix: prevent double-close of blobgen.Writer in CompressStream 2026-02-08 12:03:36 -08:00
chunker Add exclude patterns, snapshot prune, and other improvements 2026-01-01 05:42:56 -08:00
cli Add deterministic deduplication, rclone backend, and database purge command 2026-01-28 15:50:17 -08:00
config Add deterministic deduplication, rclone backend, and database purge command 2026-01-28 15:50:17 -08:00
crypto Refactor: Move Vaultik struct and methods to internal/vaultik package 2025-07-26 14:47:26 +02:00
database Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
globals Add godoc documentation to exported types and methods 2025-12-18 18:51:52 -08:00
log Add --quiet flag, --json output, and config permission check 2026-01-16 09:20:29 -08:00
models Implement local SQLite index database with repositories 2025-07-20 10:26:15 +02:00
pidlock Add pluggable storage backend, PID locking, and improved scan progress 2025-12-19 11:52:51 +07:00
s3 Add deterministic deduplication, rclone backend, and database purge command 2026-01-28 15:50:17 -08:00
snapshot Add deterministic deduplication, rclone backend, and database purge command 2026-01-28 15:50:17 -08:00
storage Add deterministic deduplication, rclone backend, and database purge command 2026-01-28 15:50:17 -08:00
types Add custom types, version command, and restore --verify flag 2026-01-14 17:11:52 -08:00
vaultik fix: replace in-memory blob cache with disk-based LRU cache (closes #29) 2026-02-15 21:49:42 -08:00