Function ensureLinkSync
- ensure
Link (src, dest): voidSync Parameters
- src: string | URL
The source file path as a string or URL. Directory hard links are not allowed.
- dest: string | URL
The destination link path as a string or URL.
Returns void
A void value that returns once the hard link exists.
See
https://docs.deno.com/runtime/manual/basics/permissions#file-system-access for more information on Deno's permissions system.
- src: string | URL
Synchronously ensures that the hard link exists.
If the parent directories for the hard link do not exist, they are created.
Requires
--allow-readand--allow-writepermissions.