Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fs utils getFileInfoType() return undefined when not found #341

Merged
merged 7 commits into from Apr 23, 2019

Conversation

3 participants
@axetroy
Copy link
Contributor

commented Apr 14, 2019

make it same with Deno.symlink(). It `s my mistake.

Possible value:

  • 'dir'
  • 'file'
  • 'symlink'
  • null undefined
/** Creates `newname` as a symbolic link to `oldname`. The type argument can be
 * set to `dir` or `file` and is only available on Windows (ignored on other
 * platforms).
 *
 *       await Deno.symlink("old/name", "new/name");
 */
export function symlink(
  oldname: string,
  newname: string,
  type?: string
): Promise<void>;
Show resolved Hide resolved fs/utils.ts Outdated
Show resolved Hide resolved fs/utils.ts Outdated
Show resolved Hide resolved fs/utils.ts Outdated
@ry

ry approved these changes Apr 23, 2019

Copy link
Contributor

left a comment

LGTM

@ry ry merged commit 0a61800 into denoland:master Apr 23, 2019

2 checks passed

denoland.deno_std #20190422.11 succeeded
Details
license/cla Contributor License Agreement is signed.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.