MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / deleteRecord

Function deleteRecord

src/sidebarApps/searchInFiles/indexWorker.js:252–256  ·  view source on GitHub ↗
(db, url)

Source from the content-addressed store, hash-verified

250}
251
252async function deleteRecord(db, url) {
253 const tx = db.transaction("files", "readwrite");
254 tx.objectStore("files").delete(url);
255 await transactionDone(tx);
256}
257
258function getCandidateUrls(records, requestedUrls, query) {
259 const urls = new Set();

Callers 1

syncFunction · 0.85

Calls 2

transactionDoneFunction · 0.85
deleteMethod · 0.65

Tested by

no test coverage detected