MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / copySqliteDbFiles

Function copySqliteDbFiles

main.js:6734–6741  ·  view source on GitHub ↗

Copy SQLite main + sidecar files (-wal / -shm) when migrating paths.

(srcBase, destBase)

Source from the content-addressed store, hash-verified

6732
6733ipcMain.handle('open-path', async (event, path) => {
6734 try {
6735 if (isUrlModel(path)) {
6736 shell.openExternal(path.slice(5));
6737 return true;
6738 }
6739 await shell.openPath(path);
6740 return true;
6741 } catch (error) {
6742 console.error('Error opening path:', error);
6743 throw error;
6744 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected