MCPcopy Create free account
hub / github.com/AvinZarlez/processing-vscode / copyTaskFile

Function copyTaskFile

src/extension.ts:87–94  ·  view source on GitHub ↗
(destination: string)

Source from the content-addressed store, hash-verified

85 let taskPath = path.join(root.uri.fsPath, '.vscode');
86
87 function copyTaskFile(destination: string) {
88 copyFile(pdeTaskFile, destination, function (err: Error) {
89 if (err) {
90 return console.log(err);
91 }
92 remindAddToPath();
93 });
94 }
95
96 fs.stat(taskPath, (err, stats) => {
97 if (err && err.code === 'ENOENT') {

Callers 1

activateFunction · 0.85

Calls 2

copyFileFunction · 0.85
remindAddToPathFunction · 0.85

Tested by

no test coverage detected