MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isDirectory

Function isDirectory

src/resolution/workspace-packages.ts:643–649  ·  view source on GitHub ↗
(abs: string)

Source from the content-addressed store, hash-verified

641}
642
643function isDirectory(abs: string): boolean {
644 try {
645 return fs.statSync(abs).isDirectory();
646 } catch {
647 return false;
648 }
649}
650
651/** A package.json's dependencies on a path (`file:`, `link:`, `portal:`), from every dependency field → [name, target]. */
652function readNpmPathDeps(manifestAbs: string): Array<[string, string]> {

Callers 1

collectPathDepsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected