diff options
Diffstat (limited to 'cli/js/ops/fs/rename.ts')
-rw-r--r-- | cli/js/ops/fs/rename.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/js/ops/fs/rename.ts b/cli/js/ops/fs/rename.ts deleted file mode 100644 index f0789d3eb..000000000 --- a/cli/js/ops/fs/rename.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 renameSync(oldpath: string, newpath: string): void { - sendSync("op_rename", { oldpath, newpath }); -} - -export async function rename(oldpath: string, newpath: string): Promise<void> { - await sendAsync("op_rename", { oldpath, newpath }); -} |