Skip to main content

add_to_library

Function add_to_library 

Source
pub fn add_to_library(
    nodes_dir: &Path,
    store: &Store,
    slug: &str,
) -> Result<NodeLibraryRow, NodeError>
Expand description

Install a catalog entry into the user’s local library. Refuses if a row already exists for the slug - re-installs go through update_installed.