def safe_rmtree(directory):
  if os.path.exists(directory):
    shutil.rmtree(directory, True)
Generate a recursive list of files from a given path.
dataset/ETHPy150Open pantsbuild/pex/pex/common.py/safe_rmtree--crossover with--dataset/ETHPy150Open koenbok/Cactus/cactus/utils/filesystem.py/fileList