Function ic_asset::sync

source · []
pub async fn sync(
    canister: &Canister<'_>,
    dirs: &[&Path],
    timeout: Duration
) -> Result<()>
Expand description

Sets the contents of the asset canister to the contents of a directory, including deleting old assets.