Skip to main content

parse_tar

Function parse_tar 

Source
pub fn parse_tar(image: &[u8]) -> Result<ConfigHandle<'_>, ParseTarError>
Available on crate feature loader only.
Expand description

A convenience function to handle looking up the config in a tar file (decompressed) and retrieve the kernel slice.