MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / get

Method get

aban/aban.ts:133–137  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

131 if (!this.db) return null;
132 return this.db.data.cache[key] || null;
133 }
134
135 async set(key: string, value: any): Promise<void> {
136 await this.initPromise;
137 if (!this.db) return;
138 this.db.data.cache[key] = value;
139 await this.db.write();
140 }

Callers 4

getHitokotoMethod · 0.45
getManagedGroupsMethod · 0.45
summarizeReasonsPlainMethod · 0.45
summarizeReasonsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected