-
Notifications
You must be signed in to change notification settings - Fork 16
/
deno_link.deno.txt
19 lines (13 loc) · 1.57 KB
/
deno_link.deno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DENO_LINK
VERSION ==> #See Deno part
Deno.link
(OLD_UPATH, NEW_UPATH)->>
Deno.linkSync(...) WR#Create hard link
std/fs/ensure_link.ts
ensureLink(UPATH, UPATH2)->> WR#If UPATH2 does not exist, creates it as a hard link to UPATH
ensureLinkSync(...) #Throws if UPATH does not exist
#Throws if UPATH2 exists, unless it is a hard link to UPATH
#Throws if new file's parent is not a DIR
#Creates parent DIRs