def delete_folder()

in devai-api/app/github_utils.py [0:0]


def delete_folder(repo_name: str):
    """Deletes the specified folder and its contents.

    Args:
        repo_name (str): The name of the folder to delete.
    """
    try:
        subprocess.run(["rm", "-rf", repo_name], check=True)
    except Exception as e:
        print(f"Error deleting folder: {e}")