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

Method cleanup

save/save.ts:106–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 this.db = null;
105 for (const filePath of this.activeTempFiles) {
106 void fs.unlink(filePath).catch(() => {});
107 }
108 this.activeTempFiles.clear();
109 void this.cleanupTempDirectory();
110 }
111
112 async setup(): Promise<void> {
113 await this.initDB();
114 }
115
116 name = "save";
117 description = help_text;
118

Callers

nothing calls this directly

Calls 2

cleanupTempDirectoryMethod · 0.95
clearMethod · 0.80

Tested by

no test coverage detected