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

Method add

keyword/keyword.ts:352–359  ·  view source on GitHub ↗
(fromCid: number, toCid: number)

Source from the content-addressed store, hash-verified

350 `);
351 stmt.run(fromCid, toCid);
352 }
353
354 remove(fromCid: number): void {
355 if (!db) return;
356 const stmt = db.prepare("DELETE FROM keyword_alias WHERE from_cid = ?");
357 stmt.run(fromCid);
358 }
359
360 get(fromCid: number): number | undefined {
361 if (!db) return undefined;
362 const stmt = db.prepare(

Callers 2

processKeywordMethod · 0.45
keywordFunction · 0.45

Calls 1

runMethod · 0.80

Tested by

no test coverage detected