Skip to main content

install_script

Function install_script 

Source
pub fn install_script(
    bytes: &[u8],
    manifest: &Manifest,
    target: &str,
) -> Result<Option<(InstallScript, Vec<u8>)>>
Expand description

The install script target runs, with its digest and bytes, or None when the target has no install script. Check the archive with inspect_archive first; this reads only the script.