Skip to content

Commit

Permalink
add note about target path
Browse files Browse the repository at this point in the history
  • Loading branch information
kt3k committed Nov 21, 2024
1 parent 2084f0c commit 9361eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ensure_symlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getSymlinkOption(
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
* for more information on Deno's permissions system.
*
* @param target The source file path as a string or URL.
* @param target The source file path as a string or URL. If it is a relative path string, it have to be relative to the link path.
* @param linkName The destination link path as a string or URL.
*
* @returns A void promise that resolves once the link exists.
Expand Down Expand Up @@ -115,7 +115,7 @@ export async function ensureSymlink(
* @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
* for more information on Deno's permissions system.
*
* @param target The source file path as a string or URL.
* @param target The source file path as a string or URL. If it is a relative path string, it have to be relative to the link path.
* @param linkName The destination link path as a string or URL.
* @returns A void value that returns once the link exists.
*
Expand Down

0 comments on commit 9361eb0

Please sign in to comment.