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

Function getMimeType

main.js:7279–7289  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

7277 console.error('Import library error:', error);
7278 if (event && event.sender) {
7279 event.sender.send('close-progress-dialog');
7280 }
7281 throw error;
7282 }
7283 }
7284 return false;
7285});
7286
7287// Update these handlers to remove Promise wrappers and use synchronous API
7288
7289ipcMain.handle('get-duplicate-files', async () => {
7290 try {
7291 const models = db.prepare(`
7292 SELECT filePath, hash, size,

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected