Skip to main content

unanchored_sidecars

Function unanchored_sidecars 

Source
pub fn unanchored_sidecars(root: &Path) -> Vec<UnanchoredSidecar>
Expand description

The sidecars under the library at root that no provenance chain anchors — the set Workspace::open reports through Workspace::unanchored_sidecars, found without a passphrase or any key material.

The scan only walks root/media and probes each unanchored file’s shape, so a keyless caller (capsule library info, which opens the library without unlocking it) can report it. A missing media/ directory is an empty library, not an error; an unreadable sidecar is reported as UnanchoredShape::Unknown, never skipped.