mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 20:47:53 +00:00
followup #23560
This commit is contained in:
@@ -763,9 +763,9 @@ proc cmpPaths*(pathA, pathB: string): int {.
|
||||
## On a case-sensitive filesystem this is done
|
||||
## case-sensitively otherwise case-insensitively. Returns:
|
||||
##
|
||||
## | 0 if pathA == pathB
|
||||
## | < 0 if pathA < pathB
|
||||
## | > 0 if pathA > pathB
|
||||
## | `0` if pathA == pathB
|
||||
## | `< 0` if pathA < pathB
|
||||
## | `> 0` if pathA > pathB
|
||||
runnableExamples:
|
||||
when defined(macosx):
|
||||
assert cmpPaths("foo", "Foo") == 0
|
||||
|
||||
Reference in New Issue
Block a user