diff options
author | Simon Krauter <trustablecode@gmail.com> | 2019-02-28 18:58:07 +0100 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-02-28 18:58:07 +0100 |
commit | 0b56b3595a52f08d07625616a4a6f793e6d7f98f (patch) | |
tree | 5c93621cdf2484181b3c6bfe67f79c691e03a68c /lib/pure | |
parent | 38aec488b74fdc3316ca28f54527bdedf9b202dc (diff) | |
download | Nim-0b56b3595a52f08d07625616a4a6f793e6d7f98f.tar.gz |
Make doku of os.moveFile() more precise. (#10758) [ci skip]
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/os.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index fec4ed843..fa32c10c4 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -1648,6 +1648,7 @@ proc moveFile*(source, dest: string) {.rtl, extern: "nos$1", ## Moves a file from `source` to `dest`. ## ## If this fails, `OSError` is raised. + ## If `dest` already exists, it will be overwritten. ## ## Can be used to `rename files`:idx:. ## |