return some infos about the repo (must be opened first)
(self)
| 284 | self.opened = False |
| 285 | |
| 286 | def info(self): |
| 287 | """return some infos about the repo (must be opened first)""" |
| 288 | # note: don't do anything expensive here or separate the lock refresh into a separate method. |
| 289 | self._lock_refresh() # do not remove, see do_with_lock() |
| 290 | info = dict(id=self.id, version=self.version) |
| 291 | return info |
| 292 | |
| 293 | def check(self, repair=False, max_duration=0): |
| 294 | """Check repository consistency""" |