Skip to main content

Module scope

Module scope 

Source
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.