cleanup os related documentation links (#20663)

cleanup documentation links
This commit is contained in:
ringabout 2022-10-27 18:16:27 +08:00 • committed by GitHub
commit c341f20476
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 27 deletions

View file

@ -19,9 +19,7 @@ proc removeFile*(file: Path) {.inline, tags: [WriteDirEffect].} =
## On Windows, ignores the read-only attribute.
##
## See also:
## * `removeDir proc`_
## * `copyFile proc`_
## * `copyFileWithPermissions proc`_
## * `removeDir proc <dirs.html#removeDir>`_
## * `moveFile proc`_
removeFile(file.string)
@ -38,8 +36,6 @@ proc moveFile*(source, dest: Path) {.inline,
## Can be used to `rename files`:idx:.
##
## See also:
## * `moveDir proc`_
## * `copyFile proc`_
## * `copyFileWithPermissions proc`_
## * `moveDir proc <dirs.html#moveDir>`_
## * `removeFile proc`_
moveFile(source.string, dest.string)