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

Method isLocalTarget

save/save.ts:130–132  ·  view source on GitHub ↗
(target: string)

Source from the content-addressed store, hash-verified

128 }
129
130 private async moveFile(sourcePath: string, destinationPath: string): Promise<void> {
131 try {
132 await fs.rename(sourcePath, destinationPath);
133 } catch {
134 await fs.copyFile(sourcePath, destinationPath);
135 await fs.unlink(sourcePath);

Callers 1

handleCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected