MCPcopy Create free account
hub / github.com/evolution-foundation/evolution-api / keys

Method keys

src/cache/localcache.ts:44–48  ·  view source on GitHub ↗
(appendCriteria?: string)

Source from the content-addressed store, hash-verified

42 }
43
44 async keys(appendCriteria?: string) {
45 const filter = `${this.buildKey('')}${appendCriteria ? `${appendCriteria}:` : ''}`;
46
47 return LocalCache.localCache.keys().filter((key) => key.substring(0, filter.length) === filter);
48 }
49
50 buildKey(key: string) {
51 return `${this.module}:${key}`;

Callers 1

deleteAllMethod · 0.95

Calls 2

buildKeyMethod · 0.95
keysMethod · 0.65

Tested by

no test coverage detected