pub fn path_is_dmg(path: impl AsRef<Path>) -> Result<bool, AppleCodesignError>
Determines whether a filesystem path is a DMG.
Returns true if the path has a DMG trailer.