2020-01-02 15:13:47 -05:00
|
|
|
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
2018-10-19 15:25:29 -04:00
|
|
|
|
2018-07-06 11:20:35 -04:00
|
|
|
// Public deno module.
|
2020-02-07 01:54:05 -05:00
|
|
|
export {
|
|
|
|
Buffer,
|
|
|
|
readAll,
|
|
|
|
readAllSync,
|
|
|
|
writeAll,
|
2020-03-28 13:03:49 -04:00
|
|
|
writeAllSync,
|
2020-02-07 01:54:05 -05:00
|
|
|
} from "./buffer.ts";
|
|
|
|
export { build, OperatingSystem, Arch } from "./build.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { chmodSync, chmod } from "./ops/fs/chmod.ts";
|
|
|
|
export { chownSync, chown } from "./ops/fs/chown.ts";
|
2020-03-11 05:53:06 -04:00
|
|
|
export { transpileOnly, compile, bundle } from "./compiler/api.ts";
|
|
|
|
export { inspect } from "./web/console.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { copyFileSync, copyFile } from "./ops/fs/copy_file.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export {
|
|
|
|
Diagnostic,
|
|
|
|
DiagnosticCategory,
|
|
|
|
DiagnosticItem,
|
2020-03-28 13:03:49 -04:00
|
|
|
DiagnosticMessageChain,
|
2020-02-07 01:54:05 -05:00
|
|
|
} from "./diagnostics.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { chdir, cwd } from "./ops/fs/dir.ts";
|
2020-03-08 08:09:22 -04:00
|
|
|
export { applySourceMap, formatDiagnostics } from "./ops/errors.ts";
|
2020-02-24 15:48:35 -05:00
|
|
|
export { errors } from "./errors.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export { FileInfo } from "./file_info.ts";
|
2018-12-13 16:20:37 -05:00
|
|
|
export {
|
|
|
|
File,
|
|
|
|
open,
|
2019-03-27 23:29:36 -04:00
|
|
|
openSync,
|
2020-01-08 17:07:03 -05:00
|
|
|
create,
|
|
|
|
createSync,
|
2018-12-13 16:20:37 -05:00
|
|
|
stdin,
|
|
|
|
stdout,
|
|
|
|
stderr,
|
2019-02-18 18:26:41 -05:00
|
|
|
seek,
|
2019-03-27 23:29:36 -04:00
|
|
|
seekSync,
|
2020-01-21 04:49:42 -05:00
|
|
|
OpenOptions,
|
2020-03-28 13:03:49 -04:00
|
|
|
OpenMode,
|
2019-09-02 17:07:11 -04:00
|
|
|
} from "./files.ts";
|
2020-03-09 10:18:02 -04:00
|
|
|
export { read, readSync, write, writeSync } from "./ops/io.ts";
|
2020-03-08 08:09:22 -04:00
|
|
|
export { FsEvent, fsEvents } from "./ops/fs_events.ts";
|
2018-10-06 11:29:59 -04:00
|
|
|
export {
|
2019-07-06 10:16:03 -04:00
|
|
|
EOF,
|
2018-10-08 03:19:18 -04:00
|
|
|
copy,
|
2018-10-31 10:29:13 -04:00
|
|
|
toAsyncIterator,
|
2019-02-18 18:26:41 -05:00
|
|
|
SeekMode,
|
2018-10-08 03:19:18 -04:00
|
|
|
Reader,
|
2019-03-27 23:29:36 -04:00
|
|
|
SyncReader,
|
2018-10-08 03:19:18 -04:00
|
|
|
Writer,
|
2019-03-27 23:29:36 -04:00
|
|
|
SyncWriter,
|
2018-10-08 03:19:18 -04:00
|
|
|
Closer,
|
|
|
|
Seeker,
|
2019-03-27 23:29:36 -04:00
|
|
|
SyncSeeker,
|
2018-10-26 12:14:06 -04:00
|
|
|
ReadCloser,
|
2018-10-08 03:19:18 -04:00
|
|
|
WriteCloser,
|
|
|
|
ReadSeeker,
|
|
|
|
WriteSeeker,
|
|
|
|
ReadWriteCloser,
|
2020-03-28 13:03:49 -04:00
|
|
|
ReadWriteSeeker,
|
2019-09-02 17:07:11 -04:00
|
|
|
} from "./io.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { linkSync, link } from "./ops/fs/link.ts";
|
2019-02-13 08:50:15 -05:00
|
|
|
export {
|
|
|
|
makeTempDirSync,
|
|
|
|
makeTempDir,
|
2020-02-18 14:45:59 -05:00
|
|
|
makeTempFileSync,
|
|
|
|
makeTempFile,
|
2020-03-28 13:03:49 -04:00
|
|
|
MakeTempOptions,
|
2020-03-09 19:22:15 -04:00
|
|
|
} from "./ops/fs/make_temp.ts";
|
2020-03-08 08:09:22 -04:00
|
|
|
export { metrics, Metrics } from "./ops/runtime.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { mkdirSync, mkdir, MkdirOptions } from "./ops/fs/mkdir.ts";
|
2019-12-29 10:20:23 -05:00
|
|
|
export {
|
|
|
|
connect,
|
|
|
|
listen,
|
2020-03-23 18:02:51 -04:00
|
|
|
DatagramConn,
|
2019-12-29 10:20:23 -05:00
|
|
|
Listener,
|
|
|
|
Conn,
|
|
|
|
ShutdownMode,
|
2020-03-28 13:03:49 -04:00
|
|
|
shutdown,
|
2019-12-29 10:20:23 -05:00
|
|
|
} from "./net.ts";
|
2020-02-24 08:35:45 -05:00
|
|
|
export {
|
|
|
|
dir,
|
|
|
|
env,
|
|
|
|
exit,
|
|
|
|
execPath,
|
|
|
|
hostname,
|
|
|
|
loadavg,
|
2020-03-28 13:03:49 -04:00
|
|
|
osRelease,
|
2020-03-08 08:09:22 -04:00
|
|
|
} from "./ops/os.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export {
|
|
|
|
permissions,
|
|
|
|
PermissionName,
|
|
|
|
PermissionState,
|
|
|
|
PermissionStatus,
|
2020-03-28 13:03:49 -04:00
|
|
|
Permissions,
|
2020-02-07 01:54:05 -05:00
|
|
|
} from "./permissions.ts";
|
|
|
|
export { openPlugin } from "./plugins.ts";
|
2020-03-09 10:18:02 -04:00
|
|
|
export { kill } from "./ops/process.ts";
|
2020-03-11 10:49:53 -04:00
|
|
|
export { run, RunOptions, Process, ProcessStatus } from "./process.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { readdirSync, readdir } from "./ops/fs/read_dir.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export { readFileSync, readFile } from "./read_file.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { readlinkSync, readlink } from "./ops/fs/read_link.ts";
|
|
|
|
export { realpathSync, realpath } from "./ops/fs/realpath.ts";
|
|
|
|
export { removeSync, remove, RemoveOptions } from "./ops/fs/remove.ts";
|
|
|
|
export { renameSync, rename } from "./ops/fs/rename.ts";
|
2020-03-08 08:09:22 -04:00
|
|
|
export { resources, close } from "./ops/resources.ts";
|
2020-03-11 10:49:53 -04:00
|
|
|
export { signal, signals, Signal, SignalStream } from "./signals.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { statSync, lstatSync, stat, lstat } from "./ops/fs/stat.ts";
|
|
|
|
export { symlinkSync, symlink } from "./ops/fs/symlink.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export { connectTLS, listenTLS } from "./tls.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { truncateSync, truncate } from "./ops/fs/truncate.ts";
|
2020-03-08 08:09:22 -04:00
|
|
|
export { isatty, setRaw } from "./ops/tty.ts";
|
2020-03-10 15:11:27 -04:00
|
|
|
export { umask } from "./ops/fs/umask.ts";
|
2020-03-09 19:22:15 -04:00
|
|
|
export { utimeSync, utime } from "./ops/fs/utime.ts";
|
2019-09-02 17:07:11 -04:00
|
|
|
export { version } from "./version.ts";
|
2020-02-07 01:54:05 -05:00
|
|
|
export { writeFileSync, writeFile, WriteFileOptions } from "./write_file.ts";
|
2018-09-22 08:47:44 -04:00
|
|
|
export const args: string[] = [];
|
2020-04-01 04:47:23 -04:00
|
|
|
export {
|
|
|
|
RunTestsOptions,
|
|
|
|
TestDefinition,
|
|
|
|
TestMessage,
|
|
|
|
runTests,
|
|
|
|
test,
|
|
|
|
} from "./testing.ts";
|
2018-10-05 10:13:22 -04:00
|
|
|
|
2019-03-26 08:22:07 -04: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 08:22:07 -04:00
|
|
|
|
2019-09-02 17:07:11 -04:00
|
|
|
export let pid: number;
|
|
|
|
|
|
|
|
export let noColor: boolean;
|
2020-01-16 19:42:58 -05:00
|
|
|
|
|
|
|
export { symbols } from "./symbols.ts";
|