diff options
Diffstat (limited to 'cli/js/ops/fs/link.ts')
-rw-r--r-- | cli/js/ops/fs/link.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/js/ops/fs/link.ts b/cli/js/ops/fs/link.ts deleted file mode 100644 index 05ff358ef..000000000 --- a/cli/js/ops/fs/link.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - -import { sendSync, sendAsync } from "../dispatch_json.ts"; - -export function linkSync(oldpath: string, newpath: string): void { - sendSync("op_link", { oldpath, newpath }); -} - -export async function link(oldpath: string, newpath: string): Promise<void> { - await sendAsync("op_link", { oldpath, newpath }); -} |