Skip to main content

add

Function add 

Source
pub fn add(
    file_path: &str,
    target: MemoryTarget,
    step: Option<&str>,
    name: Option<&str>,
    description: Option<&str>,
    tags: &[String],
) -> Result<u64, ZigError>
Expand description

Add a file to the memory scratch pad.

Copies the file into the target tier directory, assigns a numeric ID, and updates the manifest. Returns the assigned ID.