@log_calls
  def locate(self, scope, path, srev, recursive=False):
    '''
    Locate the store path of a single file in the repository. Returns (scheme, store_uri).
    '''
    items = self.list(scope, path, srev, recursive=recursive)
    assert len(items) >= 1
    return [(item.scheme, item.full_store_path(self, scope)) for item in items]
dataset/ETHPy150Open bloomreach/zinc/zinc.py/Repo.locate/original