cmd-sync-servers - v1.0.0
    Preparing search index...

    Function isCaseSensitive

    • Probes whether the file system holding dir tells names apart by case: writes a lower-case file and looks for its upper-case name. look is the lookup, replaceable in tests.

      Parameters

      • dir: string
      • look: (file: string) => Promise<unknown> = stat

      Returns Promise<boolean>