| 39 | } |
| 40 | |
| 41 | static Result appendLine(String& text, StringView line) |
| 42 | { |
| 43 | if (line.isEmpty()) |
| 44 | return Result(true); |
| 45 | |
| 46 | auto builder = StringBuilder::createForAppendingTo(text); |
| 47 | if (not text.isEmpty()) |
| 48 | { |
| 49 | SC_TRY(builder.append("\n")); |
| 50 | } |
| 51 | SC_TRY(builder.append(line)); |
| 52 | builder.finalize(); |
| 53 | return Result(true); |
| 54 | } |
| 55 | |
| 56 | struct HotReloadOptionsStorage |
| 57 | { |
no test coverage detected