Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "project/util/diagnosticUtils"

Index

Variables

Functions

Variables

Const Separator

Separator: "-------------------" = "-------------------"

Functions

diagnosticDump

  • diagnosticDump(stepName: string, globPattern?: string, stringifier?: (f: File) => string): (project: Project) => Promise<Project>
  • Use as a diagnostic step in an editor chain. No op that dumps file information to the console.

    Parameters

    • stepName: string

      identification of the step in the process we're up to

    • Default value globPattern: string = AllFiles

      optional glob pattern to select files. Match all if not supplied

    • Default value stringifier: (f: File) => string = f => f.path

      function to convert files to strings. Default uses path

        • Parameters

          Returns string

    Returns (project: Project) => Promise<Project>

Generated using TypeDoc