()
| 67 | } |
| 68 | |
| 69 | export function getContinueGlobalPath(): string { |
| 70 | // This is ~/.continue on mac/linux |
| 71 | const continuePath = CONTINUE_GLOBAL_DIR; |
| 72 | if (!fs.existsSync(continuePath)) { |
| 73 | fs.mkdirSync(continuePath); |
| 74 | } |
| 75 | return continuePath; |
| 76 | } |
| 77 | |
| 78 | export function getSessionsFolderPath(): string { |
| 79 | const sessionsPath = path.join(getContinueGlobalPath(), "sessions"); |
no outgoing calls
no test coverage detected