blob: 403cd6def2517f3fbc866b18c6d19b7030621453 (
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 readlinkSync(path: string): string {
return sendSync("op_read_link", { path });
}
export async function readlink(path: string): Promise<string> {
return sendAsync("op_read_link", { path });
}
|