@log_calls
  def list(self, scope, path, srev, recursive=False):
    '''
    List files in the repository directly. Returns list of Items.
    '''
    mf = self.get_manifest(scope, srev)
    items = mf.get_listing(path, recursive=recursive)
    if not items:
      raise Failure("no items in path '%s' for revision '%s' of scope '%s' (try a recursive listing instead?)" % (path, srev, scope), suppressable=True)
    return items
dataset/ETHPy150Open bloomreach/zinc/zinc.py/Repo.list/original