os: createHardlink: clarify documentation
I know no (UNIX-like) system which restricts creation of hardlinks.
This commit is contained in:
parent
af2b0aed06
commit
21433477df
1 changed files with 2 additions and 2 deletions
|
|
@ -1070,8 +1070,8 @@ proc createHardlink*(src, dest: string) =
|
|||
## Create a hard link at `dest` which points to the item specified
|
||||
## by `src`.
|
||||
##
|
||||
## **Warning**: Most OS's restrict the creation of hard links to
|
||||
## root users (administrators) .
|
||||
## **Warning**: Some OS's restrict the creation of hard links to
|
||||
## root users (administrators).
|
||||
when defined(Windows):
|
||||
when useWinUnicode:
|
||||
var wSrc = newWideCString(src)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue