282
282
return state._get_entry(0, fileid_utf8=file_id, path_utf8=path)
284
284
def get_file_sha1(self, file_id, path=None, stat_value=None):
291
289
# if row stat is valid, use cached sha1, else, get a new sha1.
294
292
return self._hashcache.get_sha1(path, stat_value)
296
294
def _get_inventory(self):