Show More
@@ -521,6 +521,18 b' class RevlogStoreEntry(BaseStoreEntry):' | |||
|
521 | 521 | assert b'.i' in details, (path_prefix, details) |
|
522 | 522 | self._details = details |
|
523 | 523 | |
|
524 | @property | |
|
525 | def is_changelog(self): | |
|
526 | return self.revlog_type & FILEFLAGS_CHANGELOG | |
|
527 | ||
|
528 | @property | |
|
529 | def is_manifestlog(self): | |
|
530 | return self.revlog_type & FILEFLAGS_MANIFESTLOG | |
|
531 | ||
|
532 | @property | |
|
533 | def is_filelog(self): | |
|
534 | return self.revlog_type & FILEFLAGS_FILELOG | |
|
535 | ||
|
524 | 536 | def main_file_path(self): |
|
525 | 537 | """unencoded path of the main revlog file""" |
|
526 | 538 | return self._path_prefix + b'.i' |
General Comments 0
You need to be logged in to leave comments.
Login now