MCPcopy Create free account
hub / github.com/PerroEngine/Perro / extract_all

Function extract_all

perro_source/api_modules/perro_modules/src/zip.rs:19–23  ·  view source on GitHub ↗
(path: P, output_dir: O)

Source from the content-addressed store, hash-verified

17 let path = readable_disk_path(path.as_res_path_str())?;
18 perro_io::list_zip_file_with_limits(path, limits)
19}
20
21pub fn read_entry<P: ResPathSource>(path: P, name: &str) -> io::Result<Vec<u8>> {
22 let path = readable_disk_path(path.as_res_path_str())?;
23 perro_io::read_zip_file_entry(path, name)
24}
25
26pub fn read_entry_with_limits<P: ResPathSource>(

Callers

nothing calls this directly

Calls 4

readable_disk_pathFunction · 0.85
writable_disk_pathFunction · 0.85
extract_zip_fileFunction · 0.85
as_res_path_strMethod · 0.80

Tested by

no test coverage detected