Expand description
Backend-neutral helpers for matching and projecting memory scopes.
Scopes are deliberately represented as normalized strings. Backends may store them in URI fields, metadata maps, tags, or sidecar indexes, but this crate only needs the policy-level question: does a frame belong to a scope, and what hierarchical path can a caller expose for provenance?
Structs§
- Scope
- A normalized memory scope used for isolation and retention decisions.
Functions§
- normalize_
scope - Normalize a slash-delimited scope string.
- scope_
matches - Match an optional candidate scope against an optional required scope.
- scope_
path - Split a slash-delimited scope string into normalized path segments.