(dir: FsReadDir, options?: FsSearchOptions | undefined): Promise<FsSearchResult[]> import {fs_search} from '@fuzdev/gro/fs_search.js'; Finds the files beneath a directory, recursively.
Each result is a file. Its path is relative to the searched directory and its id
is absolute (see id_dir). A symlink is never followed, so it's a result like a file
whatever it points at, as is any other entry that isn't a directory; kind tells them apart.
dir
the handle to search beneath
options?
returns
Promise<FsSearchResult[]>
the found paths, or an empty array when nothing is at the searched path
throws
FsError- when the searched path isn't a directory, or a listing fails