(line: string)
| 283 | } |
| 284 | |
| 285 | function parseTimestamp(line: string): string | undefined { |
| 286 | const isoMatch = /\b\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z)?\b/.exec(line); |
| 287 | if (isoMatch) return isoMatch[0]; |
| 288 | const androidMatch = /\b\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d+\b/.exec(line); |
| 289 | return androidMatch?.[0]; |
| 290 | } |
| 291 | |
| 292 | function parseAndroidPacketId(line: string): string | null { |
| 293 | const match = /\bpacket id (\d+)\b/i.exec(line); |
no outgoing calls
no test coverage detected
searching dependent graphs…