@haxall/haxall
    Preparing search index...

    Interface GlobOptionsWithFileTypes

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

    Hierarchy

    • _GlobOptions<Dirent>
      • GlobOptionsWithFileTypes
    Index

    Properties

    cwd?: string

    Current working directory.

    process.cwd()
    
    exclude?: readonly string[] | ((fileName: Dirent) => 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: true

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

    false
    

    v22.2.0