@drupflare/workforce - v0.3.0
    Preparing search index...

    Interface DirectoryOptions

    interface DirectoryOptions {
        ignore?: (path: string) => boolean;
        maxDepth?: number;
        maxFiles?: number;
    }
    Index
    ignore?: (path: string) => boolean

    skip a path, relative to the root and always with forward slashes

    maxDepth?: number
    maxFiles?: number

    stop after this many files, so a wrong root costs a refusal rather than a disk read