Load text content from file.
(filepath: str)
| 38 | |
| 39 | @staticmethod |
| 40 | def load_text(filepath: str) -> str: |
| 41 | """Load text content from file.""" |
| 42 | with open(filepath, 'r', encoding='utf-8') as f: |
| 43 | return f.read() |
| 44 | |
| 45 | file_manager = FileManager() |
no outgoing calls
no test coverage detected