< 0 if a < b,
0 if a == b, and
> 0 if a > b.int filenameCharCmp(CaseSensitive cs = CaseSensitive.osDefault)(dchar a, dchar b) @safe pure nothrowCompares filename characters.
This function can perform a case-sensitive or a case-insensitive comparison. This is controlled through the cs template parameter which, if not specified, is given by CaseSensitive.osDefault.
On Windows, the backslash and slash characters (`\` and `/`) are considered equal.
cs | Case-sensitivity of the comparison. |
a | A filename character. |
b | A filename character. |
< 0 if a < b,
0 if a == b, and
> 0 if a > b.