Return as a string the flags that are set.
(self)
| 1548 | raise ValueError("subdir must be 'new' or 'cur': %s" % subdir) |
| 1549 | |
| 1550 | def get_flags(self): |
| 1551 | """Return as a string the flags that are set.""" |
| 1552 | if self._info.startswith('2,'): |
| 1553 | return self._info[2:] |
| 1554 | else: |
| 1555 | return '' |
| 1556 | |
| 1557 | def set_flags(self, flags): |
| 1558 | """Set the given flags and unset all others.""" |
no test coverage detected