(lines: string[], text: string | undefined, indent = "")
| 453 | } |
| 454 | |
| 455 | function pushRustDoc(lines: string[], text: string | undefined, indent = ""): void { |
| 456 | if (!text) return; |
| 457 | for (const paragraph of text.trim().split(/\r?\n/)) { |
| 458 | if (paragraph.trim().length === 0) { |
| 459 | lines.push(`${indent}///`); |
| 460 | } else { |
| 461 | lines.push(`${indent}/// ${paragraph.trim()}`); |
| 462 | } |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | function isRustMapSchema(schema: JSONSchema7): boolean { |
| 467 | const hasProperties = |
no test coverage detected
searching dependent graphs…