MCPcopy
hub / github.com/github/awesome-copilot / exists

Function exists

extensions/java-modernization-studio/scan.mjs:67–74  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

65}
66
67async function exists(path) {
68 try {
69 await stat(path);
70 return true;
71 } catch {
72 return false;
73 }
74}
75
76async function isDirectory(path) {
77 try {

Callers 1

buildAssessmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected