Skip to main content

save_asset

Function save_asset 

Source
pub fn save_asset(
    registry_path: &Path,
    file_name: &str,
    bytes: &[u8],
) -> Result<()>
Expand description

Atomically persist an image asset with owner-only permissions.