MCPcopy Create free account
hub / github.com/apache/tvm / hasAllKeys

Method hasAllKeys

web/src/artifact_cache.ts:742–750  ·  view source on GitHub ↗
(keys: string[])

Source from the content-addressed store, hash-verified

740 }
741
742 async hasAllKeys(keys: string[]): Promise<boolean> {
743 const results = await Promise.all(
744 keys.map(async (key) => {
745 const cached = await this.storage.match(key);
746 return cached !== undefined;
747 }),
748 );
749 return results.every((result) => result);
750 }
751
752 async deleteInCache(url: string): Promise<void> {
753 await this.storage.delete(url);

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected