Function untar_source

Source
pub fn untar_source(tar_bytes: &[u8]) -> Result<Vec<ContractSourceFile>>
Expand description

Auxiliary function that extracts source code files from a TAR archive provided as a byte slice [&[u8]], returning a Vec of ContractSourceFiles representing the extracted file paths and their contents.