def _scan_up_all(path, target_name):
  file_paths = []
  while True:
    file_path = _scan_up(path, target_name)
    if not file_path:
      break
    file_paths.append(file_path)
    path = os.path.dirname(os.path.dirname(file_path))
  file_paths.reverse()
  return file_paths
Recursively scans up the entire path chain, finding all files with the
dataset/ETHPy150Open google/anvil-build/anvil/config.py/_scan_up_all