[os] clarify docs for existsDir (#9212)
* Update os.nim * Update os.nim
This commit is contained in:
parent
d36f98fa8b
commit
73e6b229aa
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ proc existsFile*(filename: string): bool {.rtl, extern: "nos$1",
|
||||||
|
|
||||||
proc existsDir*(dir: string): bool {.rtl, extern: "nos$1", tags: [ReadDirEffect].} =
|
proc existsDir*(dir: string): bool {.rtl, extern: "nos$1", tags: [ReadDirEffect].} =
|
||||||
## Returns true iff the directory `dir` exists. If `dir` is a file, false
|
## Returns true iff the directory `dir` exists. If `dir` is a file, false
|
||||||
## is returned.
|
## is returned. Follows symlinks.
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
when useWinUnicode:
|
when useWinUnicode:
|
||||||
wrapUnary(a, getFileAttributesW, dir)
|
wrapUnary(a, getFileAttributesW, dir)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue