A snapshot for this repositiory's configuration This allows reads over multiple values to use the same version of the configuration files.
(self)
| 303 | |
| 304 | @property |
| 305 | def config_snapshot(self): |
| 306 | """A snapshot for this repositiory's configuration |
| 307 | |
| 308 | This allows reads over multiple values to use the same version |
| 309 | of the configuration files. |
| 310 | """ |
| 311 | cconfig = ffi.new('git_config **') |
| 312 | err = C.git_repository_config_snapshot(cconfig, self._repo) |
| 313 | check_error(err) |
| 314 | |
| 315 | return Config.from_c(self, cconfig[0]) |
| 316 | |
| 317 | # |
| 318 | # References |
nothing calls this directly
no test coverage detected