/// Returns the base dir of the extension. This is same as the extension's package.
Returns the base dir of the extension. This is same as the extension's package.
Returns the base dir of the extension . This is same as the extension ' s package .
fn ext_base_dir(archive: ZipArchive<File>) -> PathBuf {
    let ext_props_path = archive
        .file_names()
        .into_iter()
        .find(|x| x.ends_with("classes.jar"))
        .unwrap();
    Path::new(ext_props_path).parent().unwrap().to_owned()
}
fn ext_base_dir ( archive : ZipArchive < File > ) -> PathBuf { let ext_props_path = archive . file_names ( ) . into_iter ( ) . find ( | x | x . ends_with ( " " ) ) . unwrap ( ) ; Path :: new ( ext_props_path ) . parent ( ) . unwrap ( ) . to_owned ( ) }
Returns the base dir of the extension.
Returns the base dir of the extension .
archive
ZipArchive<File>