apple_codesign::dmg

Function path_is_dmg

Source
pub fn path_is_dmg(path: impl AsRef<Path>) -> Result<bool, AppleCodesignError>
Expand description

Determines whether a filesystem path is a DMG.

Returns true if the path has a DMG trailer.