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

Method get

git_PR/git_PR.ts:101–104  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

99 static async get(key: string): Promise<string> {
100 await this.init();
101 return this.db?.data[key] ?? DEFAULT_CONFIG[key] ?? "";
102 }
103
104 static async set(key: string, value: string): Promise<boolean> {
105 await this.init();
106 if (!this.db) return false;
107 try {

Callers 4

getApiFunction · 0.45
handleReposMethod · 0.45
handlePRsMethod · 0.45
handleMergeAllMethod · 0.45

Calls 1

initMethod · 0.95

Tested by

no test coverage detected