Skip to main content

load_pack

Function load_pack 

Source
pub fn load_pack<P: AsRef<Path>>(
    ccpack_path: P,
) -> Result<(Manifest, HashMap<String, Vec<u8>>)>
Expand description

Load a .ccpack file into memory and return the manifest and file contents

§Arguments

  • ccpack_path - Path to the .ccpack file

§Returns

A tuple of (Manifest, HashMap<path, content_bytes>)