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