// 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 { return sendAsync("op_read_link", { path }); }