-
Notifications
You must be signed in to change notification settings - Fork 16
/
deno_symlink.deno.txt
22 lines (14 loc) · 1.72 KB
/
deno_symlink.deno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DENO_SYMLINK
VERSION ==> #Part of Deno
SYMLINKS ==> #Unless the operation is about symlinks, symlinks are usually followed in Deno core methods
Deno.symlink(OLD_UPATH, WR#Create symlink
NEW_UPATH[, OPTS])->> #OPTS:
Deno.symlinkSync(...) # - type 'file' (def) or 'dir' (Windows only)
std/fs/ensure_symlink.ts
ensureSymlink(UPATH, UPATH2)->> WR#If UPATH2 does not exist, creates it as a symlink pointing to UPATH
ensureSymlinkSync(...) #Throws if UPATH does not exist
#Noop if UPATH2 exists
#Throws if new file's parent is not a DIR
#Creates parent DIRs