( root: string, subdir: NcodeConfigDirectory, )
| 62 | } |
| 63 | |
| 64 | export 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 | |
| 74 | function getExistingUserDirs(subdir: NcodeConfigDirectory): string[] { |
| 75 | const dirs: string[] = [] |
no test coverage detected