Type alias CompareNameHandler

CompareNameHandler: ((name1, name2, options) => 0 | 1 | -1)

Type declaration

    • (name1, name2, options): 0 | 1 | -1
    • Extension point used to compare files or directories names. The comparison should be dependent on received options (ie. case sensitive, ...). Returns 0 if names are identical, -1 if name1<name2, 1 if name1>name2.

      Parameters

      • name1: string
      • name2: string
      • options: Options

      Returns 0 | 1 | -1

Generated using TypeDoc