()
| 84 | } |
| 85 | |
| 86 | export function getIndexFolderPath(): string { |
| 87 | const indexPath = path.join(getContinueGlobalPath(), "index"); |
| 88 | if (!fs.existsSync(indexPath)) { |
| 89 | fs.mkdirSync(indexPath); |
| 90 | } |
| 91 | return indexPath; |
| 92 | } |
| 93 | |
| 94 | export function getGlobalContextFilePath(): string { |
| 95 | return path.join(getIndexFolderPath(), "globalContext.json"); |
no test coverage detected