pub fn parse_cpio_entries(
data: &[u8],
) -> Result<Vec<(String, u32, u32)>, KernelError>Expand description
Parse a cpio newc archive and return the list of entries.
Each entry is returned as (path, mode, filesize, data_offset_in_archive). This is primarily used for testing/verification.