summaryrefslogtreecommitdiff
path: root/js/deno.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-09-09 20:25:43 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-09-10 00:14:28 -0400
commit35bc9ddf636734a424b8f69ca7a49af071193002 (patch)
tree2f5e0908859837110ee765968abf6317c200257e /js/deno.ts
parentc29392b25f6a7ade25a8205cabb9c3548e771ca2 (diff)
Implement deno.readFile()
As an example of how to implement ops that have both sync and async versions.
Diffstat (limited to 'js/deno.ts')
-rw-r--r--js/deno.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/deno.ts b/js/deno.ts
index ba4a5151e..ce01c5dad 100644
--- a/js/deno.ts
+++ b/js/deno.ts
@@ -7,12 +7,12 @@ export {
FileInfo,
makeTempDirSync,
mkdirSync,
- readFileSync,
renameSync,
statSync,
lstatSync,
writeFileSync
} from "./os";
+export { readFileSync, readFile } from "./read_file";
export { ErrorKind, DenoError } from "./errors";
export { libdeno } from "./libdeno";
export const argv: string[] = [];