284
284
def get_file_sha1(self, file_id, path=None, stat_value=None):
285
285
# check file id is valid unconditionally.
289
289
# if row stat is valid, use cached sha1, else, get a new sha1.
292
292
return self._hashcache.get_sha1(path, stat_value)
294
294
def _get_inventory(self):