Expand description
On-disk layout for fetched and composed bundles.
Everything under the cache is content-addressed, so a re-fetch of an
unchanged bundle is a no-op and a rollback is a re-point rather than a
download. current is a symlink swapped by rename, which is atomic on
the same filesystem: a reader either sees the whole previous composition
or the whole new one, never a half-copied tree. State is written the same
way โ temp file, then rename.
Copyright (c) systemprompt.io โ Business Source License 1.1. See https://systemprompt.io for licensing details.