@eagleoutice/flowr - v2.13.1
    Preparing search index...

    Function getAllFilesSync

    • Retrieves all files in the given directory recursively (synchronously)

      Parameters

      • dir: string

        Directory path to start the search from

      • suffix: RegExp = ...

        Suffix of the files to be retrieved, tested against the file name

      • ignoreDirs: RegExp | undefined = undefined

        Directories to skip, tested against the posix path relative to dir (e.g. packrat/lib), so a pattern can address nested directories

      • relativeTo: string = dir

        The path to which the returned paths are relative (used for ignoreDirs), defaults to dir

      Returns Generator<string>

      getAllFiles - for an asynchronous version.