MCPcopy Index your code
hub / github.com/darkreader/darkreader / pathExistsSync

Function pathExistsSync

tasks/utils.js:70–77  ·  view source on GitHub ↗
(dest)

Source from the content-addressed store, hash-verified

68 * @returns {boolean}
69 */
70export function pathExistsSync(dest) {
71 try {
72 accessSync(dest);
73 return true;
74 } catch (err) {
75 return false;
76 }
77}
78
79/**
80 * @param {string} dir

Callers 1

getParamsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected