Adds a line to this file.
(&mut self, line: Line)
| 214 | |
| 215 | /// Adds a line to this file. |
| 216 | pub fn add_line(&mut self, line: Line) { |
| 217 | self.lines.push(line); |
| 218 | } |
| 219 | |
| 220 | /// Returns the file content by concatenating all alive lines. |
| 221 | pub fn content(&self) -> String { |