Skip to main content

create_inventory

Function create_inventory 

Source
pub fn create_inventory(
    layout: &BackupLayoutGuard,
    record: &InventoryRecord,
) -> Result<(), InventoryError>
Expand description

Durably create inventory.json under held layout exclusion without replacing evidence.

ยงErrors

Rejects excessive canonical bytes, existing/unsafe entries, replaced roots and IO/lock failures.