Skip to main content

load_items_with_locked

Function load_items_with_locked 

Source
pub fn load_items_with_locked(
    root: &Path,
) -> Result<(Vec<Item>, Vec<LockedItem>), JoyError>
Expand description

Load all items from .joy/items/, separating decryptable ones from encrypted blobs the caller has no zone-key for. Plaintext items and items whose zone key is currently active are returned as Item; items in zones without an active key are returned as LockedItem placeholders. See JOY-0174-D3.