Function glob

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • callback: GlobCallback<[string[]]>

    Returns void

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • options: GlobOptionsWithFileTypes
    • callback: GlobCallback<[Dirent[]]>

    Returns void

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • options: GlobOptionsWithoutFileTypes
    • callback: GlobCallback<[string[]]>

    Returns void

  • Retrieves the files matching the specified pattern.

    Parameters

    • this: V_Context
    • pattern: string | string[]
    • options: GlobOptions
    • callback: GlobCallback<[string[] | Dirent[]]>

    Returns void