third_party/blink/tools/blinkpy/common/find_files.py
def find(filesystem,
         base_dir,
         paths=None,
         skipped_directories=None,
         file_filter=None,
         directory_sort_key=None):
    """Finds the set of tests under a given list of sub-paths.

    Args:
        filesystem: A FileSystem instance.
        base_dir: A base directory to search under.
        paths: A list of path expressions relative to |base_dir|. Glob patterns
            are OK, as are path expressions with forward slashes on Windows.
            If paths is not given, we look at everything under |base_dir|.
        file_filter: A predicate function which takes three arguments:
            filesystem, dirname and filename.
        directory_sort_key: A sort key function.

    Returns:
        An iterable of absolute paths that were found.
    """
    paths = paths or ['*']
    skipped_directories = skipped_directories or set()
    absolute_paths = _normalize(filesystem, base_dir, paths)
    return _normalized_find(filesystem, absolute_paths, skipped_directories,
                            file_filter, directory_sort_key)
Finds the set of tests under a given list of sub-paths.

    Args:
        filesystem: A FileSystem instance.
        base_dir: A base directory to search under.
        paths: A list of path expressions relative to |base_dir|. Glob patterns
            are OK, as are path expressions with forward slashes on Windows.
            If paths is not given, we look at everything under |base_dir|.
        file_filter: A predicate function which takes three arguments:
            filesystem, dirname and filename.
        directory_sort_key: A sort key function.

    Returns:
        An iterable of absolute paths that were found.
    
Finds the set of tests under a given list of sub-paths.
Finds the set of tests under a given list of sub - paths .
def find(filesystem,
         base_dir,
         paths=None,
         skipped_directories=None,
         file_filter=None,
         directory_sort_key=None):
    paths = paths or ['*']
    skipped_directories = skipped_directories or set()
    absolute_paths = _normalize(filesystem, base_dir, paths)
    return _normalized_find(filesystem, absolute_paths, skipped_directories,
                            file_filter, directory_sort_key)
def find ( filesystem , base_dir , paths = None , skipped_directories = None , file_filter = None , directory_sort_key = None ) : paths = paths or [ '*' ] skipped_directories = skipped_directories or set ( ) absolute_paths = _normalize ( filesystem , base_dir , paths ) return _normalized_find ( filesystem , absolute_paths , skipped_directories , file_filter , directory_sort_key )
Finds the set of tests under a given list of sub-paths.
Finds the set of tests under a given list of sub - paths .
"""Finds the set of tests under a given list of sub-paths.

    Args:
        filesystem: A FileSystem instance.
        base_dir: A base directory to search under.
        paths: A list of path expressions relative to |base_dir|. Glob patterns
            are OK, as are path expressions with forward slashes on Windows.
            If paths is not given, we look at everything under |base_dir|.
        file_filter: A predicate function which takes three arguments:
            filesystem, dirname and filename.
        directory_sort_key: A sort key function.

    Returns:
        An iterable of absolute paths that were found.
    """
An iterable of absolute paths that were found.
An iterable of absolute paths that were found .
filesystem
A FileSystem instance.
A FileSystem instance .
base_dir
A base directory to search under.
A base directory to search under .
paths
A list of path expressions relative to |base_dir|. Glob patterns
are OK, as are path expressions with forward slashes on Windows.
If paths is not given, we look at everything under |base_dir|.
A list of path expressions relative to |base_dir| . Glob patterns are OK as are path expressions with forward slashes on Windows . If paths is not given we look at everything under |base_dir| .
skipped_directories
file_filter
A predicate function which takes three arguments:
filesystem, dirname and filename.
A predicate function which takes three arguments : filesystem dirname and filename .
directory_sort_key
A sort key function.
A sort key function .