blob: ab95b95837d757895f57d3eb24195cd1c38bd459 (
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 function realPath(path: string): Promise<string> {
return sendAsync("op_realpath", { path });
}
|