bit-bin
Version:
<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b
11 lines (10 loc) • 467 B
TypeScript
import { Capsule } from '../isolator';
export declare class ExecutionCache {
private pathToCache;
constructor(pathToCache: string);
hash(capsule: Capsule, name: string): string;
saveHashValue(capsule: Capsule, name: string): Promise<void>;
getCacheValue(wrkDir: string, name: string): Promise<string | undefined>;
compareToCache(capsule: Capsule, name: string): Promise<boolean>;
}
export declare function getExecutionCache(): ExecutionCache;