INNER CODE UNIT · Python

find_all_files

Kotlin/kandy · util/kandy-samples-utils/update_ws_resources.py:6

def find_all_files(resources_dir):
    """
    Recursively find all files in the given directory.

    Args:
        resources_dir (str): Path to the resources directory

    Returns:
        list: List of file paths
    """
    resources_path = Path(resources_dir)
    all_files = []

    for root, _, files in os.walk(resources_path):
        for file in files:
            all_files.append(os.path.join(root, file))

    return all_files

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…