Load configuration from file. Args: filepath: Path to rtconfig.h
(self, filepath: str)
| 181 | self.cache: Dict[str, bool] = {} |
| 182 | |
| 183 | def load_from_file(self, filepath: str) -> None: |
| 184 | """ |
| 185 | Load configuration from file. |
| 186 | |
| 187 | Args: |
| 188 | filepath: Path to rtconfig.h |
| 189 | """ |
| 190 | self.options = self.parser.parse_file(filepath) |
| 191 | self.cache.clear() # Clear dependency cache |
| 192 | |
| 193 | def get_option(self, name: str) -> Optional[ConfigOption]: |
| 194 | """ |
no test coverage detected