(entries: string[])
| 102 | } |
| 103 | |
| 104 | function hasChatLabUserDataStructure(entries: string[]): boolean { |
| 105 | return entries.includes(CHATLAB_MARKER_FILE) && USER_DATA_REQUIRED_DIRS.every((dir) => entries.includes(dir)) |
| 106 | } |
| 107 | |
| 108 | function hasChatLabDatabaseFiles(dirPath: string, entries?: string[]): boolean { |
| 109 | const dirEntries = entries ?? fs.readdirSync(dirPath) |
no outgoing calls
no test coverage detected