changeset 49314 | 2e726c934fcd |
parent 49292 | d44e3c45f0e4 |
child 49474 | b57c95a0f5f9 |
49313:53e9422a9b45 | 49314:2e726c934fcd |
---|---|
1617 |
1617 |
1618 @staticmethod |
1618 @staticmethod |
1619 def stat(path): |
1619 def stat(path): |
1620 try: |
1620 try: |
1621 return util.cachestat(path) |
1621 return util.cachestat(path) |
1622 except OSError as e: |
1622 except FileNotFoundError: |
1623 if e.errno != errno.ENOENT: |
1623 pass |
1624 raise |
|
1625 |
1624 |
1626 |
1625 |
1627 class filecacheentry: |
1626 class filecacheentry: |
1628 def __init__(self, paths, stat=True): |
1627 def __init__(self, paths, stat=True): |
1629 self._entries = [] |
1628 self._entries = [] |