Skip to main content

read_central_directory

Function read_central_directory 

Source
pub fn read_central_directory(
    data: &[u8],
) -> Result<Vec<EntryLocation>, ZipError>
Expand description

Parse the ZIP Central Directory and return one EntryLocation per file entry.

Directory entries (names ending with /) are included with is_directory = true; callers typically filter them out before decompressing.