The configuration file for this repository. If a the configuration hasn't been set yet, the default config for repository will be returned, including global and system configurations (if they are available).
(self)
| 289 | # |
| 290 | @property |
| 291 | def config(self) -> Config: |
| 292 | """The configuration file for this repository. |
| 293 | |
| 294 | If a the configuration hasn't been set yet, the default config for |
| 295 | repository will be returned, including global and system configurations |
| 296 | (if they are available). |
| 297 | """ |
| 298 | cconfig = ffi.new('git_config **') |
| 299 | err = C.git_repository_config(cconfig, self._repo) |
| 300 | check_error(err) |
| 301 | |
| 302 | return Config.from_c(self, cconfig[0]) |
| 303 | |
| 304 | @property |
| 305 | def config_snapshot(self): |
nothing calls this directly
no test coverage detected