(value: string)
| 680 | } |
| 681 | |
| 682 | function quote(value: string) { |
| 683 | return `"${value.replaceAll("\\", "\\\\").replaceAll('"', '\\"')}"`; |
| 684 | } |
| 685 | |
| 686 | // Preserve the leading comment block (header) authored at the top of a TOML file. |
| 687 | // `Bun.TOML.parse` discards comments, so the serializer must re-attach them or |
no outgoing calls
no test coverage detected