MCPcopy Create free account
hub / github.com/Noumena-Network/code / getExistingProjectOrManagedDirs

Function getExistingProjectOrManagedDirs

src/utils/markdownConfigLoader.ts:64–72  ·  view source on GitHub ↗
(
  root: string,
  subdir: NcodeConfigDirectory,
)

Source from the content-addressed store, hash-verified

62}
63
64export function getExistingProjectOrManagedDirs(
65 root: string,
66 subdir: NcodeConfigDirectory,
67): string[] {
68 const dirs: string[] = []
69 pushIfExistingDir(dirs, join(root, '.claude', subdir))
70 pushIfExistingDir(dirs, join(root, '.ncode', subdir))
71 return dirs
72}
73
74function getExistingUserDirs(subdir: NcodeConfigDirectory): string[] {
75 const dirs: string[] = []

Callers 3

getProjectDirsUpToHomeFunction · 0.85
loadSkillsDir.tsFile · 0.85

Calls 1

pushIfExistingDirFunction · 0.85

Tested by

no test coverage detected