Expand description
Mutation-triggered invalidation helpers.
These pure helpers contain the invalidation logic for common S3 mutations. The actual call sites (S3 commands) wire them in during later tasks.
§OCP
Adding a new mutation type: add one more pub fn on_*_mutation that calls
store.invalidate(...) for the affected CacheKey variants. Nothing else
changes.
Functions§
- on_
bucket_ mutation - Invalidate the
Bucketslisting for a profile when a bucket-level mutation occurs (e.g. bucket created or deleted). - on_
object_ mutation - Invalidate
ObjectsandObjectHeadkeys for the affected scope when an object is created, updated, deleted, or moved withinbucket/prefix.