blob: e68e32bf020e54654b2f76d00c8ce7107b347574 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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 async function realpath(path: string): Promise<string> {
return sendAsync("op_realpath", { path });
}
|