(record: Record<string, unknown>, field: string)
| 305 | } |
| 306 | |
| 307 | function readOptionalString(record: Record<string, unknown>, field: string): string | undefined { |
| 308 | const value = record[field]; |
| 309 | return typeof value === 'string' && value.length > 0 ? value : undefined; |
| 310 | } |
| 311 | |
| 312 | function formatSource(source: BackendInstallSource): string { |
| 313 | if (source.kind === 'path') return source.path; |
no outgoing calls
no test coverage detected