MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / unlinkAsync

Function unlinkAsync

botasaurus-controls/minify-script.js:80–90  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

78}
79
80function unlinkAsync(filePath) {
81 return new Promise((resolve, reject) => {
82 fs.unlink(filePath, (err) => {
83 if (err) {
84 reject(err);
85 } else {
86 resolve();
87 }
88 });
89 });
90}
91
92async function deleteMapFiles(directory) {
93 try {

Callers 1

deleteMapFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected