(stateFile?: string)
| 51 | } |
| 52 | |
| 53 | function getStateFilePath(stateFile?: string): string { |
| 54 | return stateFile ?? getUpdateStateFilePath(); |
| 55 | } |
| 56 | |
| 57 | // Reads resolve to the legacy `~/.context7` file if migration could not move it. |
| 58 | async function readStateFilePath(stateFile?: string): Promise<string> { |
no test coverage detected