Skip to main content

Module cache

Module cache 

Source
Expand description

Cached guest directories — Sandbox::cache, plus host-level listing.

Entries are keyed, so a rebuild can pick up where the last one left off. Where they live — host disk or S3 — is host configuration, not an SDK concern: set BSDKRUN_CACHE_BACKEND / BSDKRUN_CACHE_S3_*, or write ~/.config/bsdkrun/cache.toml.

Structs§

Cache
Save and restore guest directories under a key.
CacheEntry
A stored cache entry, as cache ls reports it.
RestoreResult
What a restore did. A miss is not an error — check restored.

Enums§

Compression
An archive format a cache entry can be stored in.

Functions§

list
Every stored cache entry, newest first.
remove
Remove entries by key, or every one of them with all.