mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 05:20:31 +00:00
os: createHardlink: clarify documentation
I know no (UNIX-like) system which restricts creation of hardlinks.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user