From fa61956f03491101b6ef64423ea2f1f73af26a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 19 Jul 2020 19:49:44 +0200 Subject: Port internal TS code to JS (#6793) Co-authored-by: Ryan Dahl --- cli/js/ops/fs/real_path.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 cli/js/ops/fs/real_path.ts (limited to 'cli/js/ops/fs/real_path.ts') diff --git a/cli/js/ops/fs/real_path.ts b/cli/js/ops/fs/real_path.ts deleted file mode 100644 index c424d99bc..000000000 --- a/cli/js/ops/fs/real_path.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 realPathSync(path: string): string { - return sendSync("op_realpath", { path }); -} - -export function realPath(path: string): Promise { - return sendAsync("op_realpath", { path }); -} -- cgit v1.2.3