Expand description
Atomic JSON cache under $SKIFF_CACHE_DIR.
Writes use crate::fsutil::atomic_write_0600. Cache keys hash connection
config (excluding filter/TTL fields).
Re-exports§
pub use crate::paths::DEFAULT_CACHE_TTL as DEFAULT_TTL;
Functions§
- atomic_
write_ json - Atomically write JSON to
path(temp + rename) with mode0o600. - cache_
key_ for - load_
cached - load_
cached_ default - save_
cache