Function glob

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]

    Returns NodeJS.AsyncIterator<string>

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • opt: GlobOptionsWithFileTypes

    Returns NodeJS.AsyncIterator<Dirent>

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • opt: GlobOptionsWithoutFileTypes

    Returns NodeJS.AsyncIterator<string>

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • opt: GlobOptions

    Returns NodeJS.AsyncIterator<Dirent | string>