Type alias DiveActionCallback

DiveActionCallback: ((err, file?, stat?) => void)

Action function for the overload of [[dive]] that takes a complete callback.

Type declaration

    • (err, file?, stat?): void
    • Parameters

      • err: Error | null

        an error or null

      • Optional file: string

        the full relative pathname of a file (relative to process.cwd, not relative to directory)

      • Optional stat: Stats

        a [[Stats]] object.

      Returns void

Generated using TypeDoc