2020-01-02 15:13:47 -05:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2018-10-20 03:25:29 +08:00
|
|
|
|
2018-07-06 11:20:35 -04:00
|
|
|
// Public deno module.
|
2020-02-07 17:54:05 +11:00
|
|
|
export {
|
|
|
|
Buffer,
|
|
|
|
readAll,
|
|
|
|
readAllSync,
|
|
|
|
writeAll,
|
2020-03-29 04:03:49 +11:00
|
|
|
writeAllSync,
|
2020-02-07 17:54:05 +11:00
|
|
|
} from "./buffer.ts";
|
2020-04-28 12:35:23 -04:00
|
|
|
export { build } from "./build.ts";
|
2020-03-10 00:22:15 +01:00
|
|
|
export { chmodSync, chmod } from "./ops/fs/chmod.ts";
|
|
|
|
export { chownSync, chown } from "./ops/fs/chown.ts";
|
2020-04-28 00:06:03 +01:00
|
|
|
export { customInspect, inspect } from "./web/console.ts";
|
2020-03-10 00:22:15 +01:00
|
|
|
export { copyFileSync, copyFile } from "./ops/fs/copy_file.ts";
|
2020-05-04 14:23:06 -04:00
|
|
|
export { chdir, cwd } from "./ops/fs/dir.ts";
|
2020-02-24 15:48:35 -05:00
|
|
|
export { errors } from "./errors.ts";
|
2018-12-13 16:20:37 -05:00
|
|
|
export {
|
|
|
|
File,
|
|
|
|
open,
|
2019-03-28 04:29:36 +01:00
|
|
|
openSync,
|
2020-01-08 23:07:03 +01:00
|
|
|
create,
|
|
|
|
createSync,
|
2018-12-13 16:20:37 -05:00
|
|
|
stdin,
|
|
|
|
stdout,
|
|
|
|
stderr,
|
2019-02-18 15:26:41 -08:00
|
|
|
seek,
|
2019-03-28 04:29:36 +01:00
|
|
|
seekSync,
|
2020-01-21 10:49:42 +01:00
|
|
|
OpenOptions,
|
2019-09-02 17:07:11 -04:00
|
|
|
} from "./files.ts";
|
2020-03-09 15:18:02 +01:00
|
|
|
export { read, readSync, write, writeSync } from "./ops/io.ts";
|
2020-04-24 23:40:29 +02:00
|
|
|
export { FsEvent, watchFs } from "./ops/fs_events.ts";
|
2020-04-28 00:06:03 +01:00
|
|
|
export { internalSymbol as internal } from "./internals.ts";
|
2018-10-06 17:29:59 +02:00
|
|
|
export {
|
2018-10-08 09:19:18 +02:00
|
|
|
copy,
|
2020-04-22 21:30:45 +02:00
|
|
|
iter,
|
|
|
|
iterSync,
|
2019-02-18 15:26:41 -08:00
|
|
|
SeekMode,
|
2018-10-08 09:19:18 +02:00
|
|
|
Reader,
|
2020-04-28 13:23:30 +02:00
|
|
|
ReaderSync,
|
2018-10-08 09:19:18 +02:00
|
|
|
Writer,
|
2020-04-28 13:23:30 +02:00
|
|
|
WriterSync,
|
2018-10-08 09:19:18 +02:00
|
|
|
Closer,
|
|
|
|
Seeker,
|
2019-09-02 17:07:11 -04:00
|
|
|
} from "./io.ts";
|
2019-02-14 00:50:15 +11:00
|
|
|
export {
|
|
|
|
makeTempDirSync,
|
|
|
|
makeTempDir,
|
2020-02-18 11:45:59 -08:00
|
|
|
makeTempFileSync,
|
|
|
|
makeTempFile,
|
2020-03-29 04:03:49 +11:00
|
|
|
MakeTempOptions,
|
2020-03-10 00:22:15 +01:00
|
|
|
} from "./ops/fs/make_temp.ts";
|
2020-03-08 13:09:22 +01:00
|
|
|
export { metrics, Metrics } from "./ops/runtime.ts";
|
2020-03-10 00:22:15 +01:00
|
|
|
export { mkdirSync, mkdir, MkdirOptions } from "./ops/fs/mkdir.ts";
|
2020-04-30 17:23:40 +02:00
|
|
|
export { connect, listen, Listener, Conn } from "./net.ts";
|
2020-06-12 09:53:53 -04:00
|
|
|
export { env, exit, execPath } from "./ops/os.ts";
|
2020-03-11 15:49:53 +01:00
|
|
|
export { run, RunOptions, Process, ProcessStatus } from "./process.ts";
|
2020-04-29 16:39:37 -04:00
|
|
|
export { DirEntry, readDirSync, readDir } from "./ops/fs/read_dir.ts";
|
2020-02-07 17:54:05 +11:00
|
|
|
export { readFileSync, readFile } from "./read_file.ts";
|
2020-04-28 00:35:20 -05:00
|
|
|
export { readTextFileSync, readTextFile } from "./read_text_file.ts";
|
2020-04-29 16:39:37 -04:00
|
|
|
export { readLinkSync, readLink } from "./ops/fs/read_link.ts";
|
|
|
|
export { realPathSync, realPath } from "./ops/fs/real_path.ts";
|
2020-03-10 00:22:15 +01:00
|
|
|
export { removeSync, remove, RemoveOptions } from "./ops/fs/remove.ts";
|
|
|
|
export { renameSync, rename } from "./ops/fs/rename.ts";
|
2020-03-08 13:09:22 +01:00
|
|
|
export { resources, close } from "./ops/resources.ts";
|
2020-04-16 06:40:30 +01:00
|
|
|
export { FileInfo, statSync, lstatSync, stat, lstat } from "./ops/fs/stat.ts";
|
2020-04-30 17:23:40 +02:00
|
|
|
export { connectTls, listenTls } from "./tls.ts";
|
2020-03-10 00:22:15 +01:00
|
|
|
export { truncateSync, truncate } from "./ops/fs/truncate.ts";
|
2020-04-30 17:23:40 +02:00
|
|
|
export { isatty } from "./ops/tty.ts";
|
2019-09-02 17:07:11 -04:00
|
|
|
export { version } from "./version.ts";
|
2020-02-07 17:54:05 +11:00
|
|
|
export { writeFileSync, writeFile, WriteFileOptions } from "./write_file.ts";
|
2020-04-28 00:35:20 -05:00
|
|
|
export { writeTextFileSync, writeTextFile } from "./write_text_file.ts";
|
2018-09-22 20:47:44 +08:00
|
|
|
export const args: string[] = [];
|
2020-04-27 14:51:22 +02:00
|
|
|
export { TestDefinition, test } from "./testing.ts";
|
2018-10-06 00:13:22 +10:00
|
|
|
|
2019-03-26 23:22:07 +11:00
|
|
|
// These are internal Deno APIs. We are marking them as internal so they do not
|
|
|
|
// appear in the runtime type library.
|
2019-09-02 17:07:11 -04:00
|
|
|
export { core } from "./core.ts";
|
2019-03-26 23:22:07 +11:00
|
|
|
|
2019-09-02 17:07:11 -04:00
|
|
|
export let pid: number;
|
|
|
|
|
|
|
|
export let noColor: boolean;
|