Skip to main content

load_served_bundle

Function load_served_bundle 

Source
pub fn load_served_bundle(
    store_dir: &Path,
    lease_dir: &Path,
    compile_key: &str,
) -> Result<Option<ServedBundle>>
Expand description

Load a bundle stage_verified_bundle staged under store_dir, when the entry exists and parses — a miss is exactly a cold cache and the calling unit compiles.

§Errors

Returns an error when the entry exists but its manifest is unreadable.