summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-10-09 06:04:29 -0700
committerAndreas Rumpf <rumpf_a@web.de>2018-10-09 15:04:29 +0200
commit73e6b229aa6cd99a71fa106e51d3faacfc8b040e (patch)
tree783ea35a47606456ba8801076d30db0fe495b1fb
parentd36f98fa8bd1ea44c132a90b2db6eebfcdf20156 (diff)
downloadNim-73e6b229aa6cd99a71fa106e51d3faacfc8b040e.tar.gz
[os] clarify docs for existsDir (#9212)
* Update os.nim

* Update os.nim
-rw-r--r--lib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index fabac8d95..a9183e1fa 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -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)