MCPcopy Index your code
hub / github.com/github/awesome-copilot / isDirectory

Function isDirectory

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

Source from the content-addressed store, hash-verified

74}
75
76async function isDirectory(path) {
77 try {
78 return (await stat(path)).isDirectory();
79 } catch {
80 return false;
81 }
82}
83
84// Explicit provenance marker the cockpit writes at the top of artifacts it owns,
85// so a root plan/progress/summary self-identifies as modernization state even

Callers 1

scanRepoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected