change 'iff' to 'if' to stop "corrections" once and for all (#14182)
This commit is contained in:
parent
9b01c6cf48
commit
9c33bcac5c
12 changed files with 37 additions and 37 deletions
|
|
@ -797,9 +797,9 @@ proc cmpPaths*(pathA, pathB: string): int {.
|
|||
## On a case-sensitive filesystem this is done
|
||||
## case-sensitively otherwise case-insensitively. Returns:
|
||||
##
|
||||
## | 0 iff pathA == pathB
|
||||
## | < 0 iff pathA < pathB
|
||||
## | > 0 iff pathA > pathB
|
||||
## | 0 if pathA == pathB
|
||||
## | < 0 if pathA < pathB
|
||||
## | > 0 if pathA > pathB
|
||||
runnableExamples:
|
||||
when defined(macosx):
|
||||
assert cmpPaths("foo", "Foo") == 0
|
||||
|
|
@ -1108,7 +1108,7 @@ proc existsFile*(filename: string): bool {.rtl, extern: "nos$1",
|
|||
|
||||
proc existsDir*(dir: string): bool {.rtl, extern: "nos$1", tags: [ReadDirEffect],
|
||||
noNimScript.} =
|
||||
## Returns true iff the directory `dir` exists. If `dir` is a file, false
|
||||
## Returns true if the directory `dir` exists. If `dir` is a file, false
|
||||
## is returned. Follows symlinks.
|
||||
##
|
||||
## See also:
|
||||
|
|
@ -1128,7 +1128,7 @@ proc existsDir*(dir: string): bool {.rtl, extern: "nos$1", tags: [ReadDirEffect]
|
|||
proc symlinkExists*(link: string): bool {.rtl, extern: "nos$1",
|
||||
tags: [ReadDirEffect],
|
||||
noNimScript.} =
|
||||
## Returns true iff the symlink `link` exists. Will return true
|
||||
## Returns true if the symlink `link` exists. Will return true
|
||||
## regardless of whether the link points to a directory or file.
|
||||
##
|
||||
## See also:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue