[os] clarify docs for existsDir (#9212)

* Update os.nim

* Update os.nim
This commit is contained in:
Timothee Cour
2018-10-09 06:04:29 -07:00
committed by Andreas Rumpf
parent d36f98fa8b
commit 73e6b229aa

View File

@@ -89,7 +89,7 @@ proc existsFile*(filename: string): bool {.rtl, extern: "nos$1",
proc existsDir*(dir: string): bool {.rtl, extern: "nos$1", tags: [ReadDirEffect].} =
## Returns true iff the directory `dir` exists. If `dir` is a file, false
## is returned.
## is returned. Follows symlinks.
when defined(windows):
when useWinUnicode:
wrapUnary(a, getFileAttributesW, dir)