@haxall/haxall
    Preparing search index...

    Interface GlobOptions

    interface GlobOptions {
        cwd?: string;
        exclude?:
            | readonly string[]
            | ((fileName: string | Dirent<string>) => boolean);
        withFileTypes?: boolean;
    }

    Hierarchy

    • _GlobOptions<Dirent | string>
      • GlobOptions
    Index

    Properties

    cwd?: string

    Current working directory.

    process.cwd()
    
    exclude?: readonly string[] | ((fileName: string | Dirent<string>) => boolean)

    Function to filter out files/directories or a list of glob patterns to be excluded. If a function is provided, return true to exclude the item, false to include it.

    undefined
    
    withFileTypes?: boolean

    true if the glob should return paths as Dirents, false otherwise.

    false
    

    v22.2.0