MCPcopy Create free account
hub / github.com/continuedev/continue / copySqlite

Function copySqlite

extensions/vscode/scripts/download-copy-sqlite.js:101–119  ·  view source on GitHub ↗

* @param {string} target the platform to build for

(target)

Source from the content-addressed store, hash-verified

99 * @param {string} target the platform to build for
100 */
101async function copySqlite(target) {
102 const child = fork(__filename, { stdio: "inherit", cwd: process.cwd() });
103 child.send({
104 payload: {
105 operation: "sqlite",
106 target,
107 },
108 });
109
110 return new Promise((resolve, reject) => {
111 child.on("message", (msg) => {
112 if (msg.error) {
113 reject();
114 } else {
115 resolve();
116 }
117 });
118 });
119}
120
121/**
122 * @param {string} target the platform to build for

Callers 1

prepackage.jsFile · 0.85

Calls 2

sendMethod · 0.65
onMethod · 0.65

Tested by

no test coverage detected