apple_codesign

Function copy_bundle

Source
pub fn copy_bundle(
    bundle: &DirectoryBundle,
    dest_dir: &Path,
) -> Result<BTreeSet<PathBuf>, AppleCodesignError>
Expand description

Copy a bundle’s contents to a destination directory.

This does not use the CodeResources rules for a bundle. Rather, it blindly copies all files in the bundle. This means that excluded files can be copied.

Returns the set of bundle-relative paths that are installed.