Trait deno_graph::FastCheckCache

source ·
pub trait FastCheckCache {
    // Required methods
    fn get(&self, key: FastCheckCacheKey) -> Option<FastCheckCacheItem>;
    fn set(&self, key: FastCheckCacheKey, value: FastCheckCacheItem);
}
Expand description

Cache for storing the results of fast checks based on a package.

Note: Implementors should bust their cache when their version changes.

Required Methods§

Implementors§