Skip to main content

read_cache

Function read_cache 

Source
pub fn read_cache(
    cache_dir: &Path,
    expected_hash: &str,
) -> Result<Option<SqlcxIR>>
Expand description

Read cached IR. Returns None on miss (wrong hash, no file, corrupted).