Skip to main content

load_item

Function load_item 

Source
pub fn load_item(root: &Path, id: &str) -> Result<Item, JoyError>
Expand description

Load a single item by ID.

Goes through load_items so that short-form ID references in parent and deps are normalized to full form before the caller sees them. This guarantees that any subsequent update_item call persists the normalized form.