(self, filename: Path, encoding: str)
| 193 | self.saved_line = "" |
| 194 | |
| 195 | def load(self, filename: Path, encoding: str) -> None: |
| 196 | with open(filename, encoding=encoding, errors="ignore") as hfile: |
| 197 | with FileLock(hfile, filename=str(filename)): |
| 198 | self.entries = self.load_from(hfile) |
| 199 | |
| 200 | def load_from(self, fd: TextIO) -> list[str]: |
| 201 | entries: list[str] = [] |