blob: e8a904079873a5852f625fca2655f6c8c4a64579 (
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 });
}
|