2019-01-01 19:58:40 -05:00
|
|
|
// Copyright 2018-2019 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.
|
2019-02-15 11:22:02 -05:00
|
|
|
export { noColor, pid, env, exit, isTTY, execPath } from "./os";
|
2018-10-13 16:03:27 -04:00
|
|
|
export { chdir, cwd } from "./dir";
|
2018-12-13 16:20:37 -05:00
|
|
|
export {
|
|
|
|
File,
|
|
|
|
open,
|
2019-03-27 23:29:36 -04:00
|
|
|
openSync,
|
2018-12-13 16:20:37 -05:00
|
|
|
stdin,
|
|
|
|
stdout,
|
|
|
|
stderr,
|
|
|
|
read,
|
2019-03-27 23:29:36 -04:00
|
|
|
readSync,
|
2018-12-13 16:20:37 -05:00
|
|
|
write,
|
2019-03-27 23:29:36 -04:00
|
|
|
writeSync,
|
2019-02-18 18:26:41 -05:00
|
|
|
seek,
|
2019-03-27 23:29:36 -04:00
|
|
|
seekSync,
|
2018-12-13 16:20:37 -05:00
|
|
|
close,
|
|
|
|
OpenMode
|
|
|
|
} from "./files";
|
2018-10-06 11:29:59 -04:00
|
|
|
export {
|
2018-10-08 03:19:18 -04:00
|
|
|
copy,
|
2018-10-31 10:29:13 -04:00
|
|
|
toAsyncIterator,
|
2018-10-08 03:19:18 -04:00
|
|
|
ReadResult,
|
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,
|
|
|
|
ReadWriteSeeker
|
2018-10-06 11:29:59 -04:00
|
|
|
} from "./io";
|
2019-03-27 23:29:36 -04:00
|
|
|
export { Buffer, readAll, readAllSync } from "./buffer";
|
2018-09-10 05:48:36 -04:00
|
|
|
export { mkdirSync, mkdir } from "./mkdir";
|
2019-02-13 08:50:15 -05:00
|
|
|
export {
|
|
|
|
makeTempDirSync,
|
|
|
|
makeTempDir,
|
|
|
|
MakeTempDirOptions
|
|
|
|
} from "./make_temp_dir";
|
2018-10-26 16:01:45 -04:00
|
|
|
export { chmodSync, chmod } from "./chmod";
|
2019-02-13 08:50:15 -05:00
|
|
|
export { removeSync, remove, RemoveOption } from "./remove";
|
2018-09-12 11:44:58 -04:00
|
|
|
export { renameSync, rename } from "./rename";
|
2018-09-25 00:20:49 -04:00
|
|
|
export { readFileSync, readFile } from "./read_file";
|
2018-10-03 17:56:56 -04:00
|
|
|
export { readDirSync, readDir } from "./read_dir";
|
2018-09-30 18:06:41 -04:00
|
|
|
export { copyFileSync, copyFile } from "./copy_file";
|
2018-09-25 00:20:49 -04:00
|
|
|
export { readlinkSync, readlink } from "./read_link";
|
2018-10-03 17:56:56 -04:00
|
|
|
export { statSync, lstatSync, stat, lstat } from "./stat";
|
2019-04-08 09:11:32 -04:00
|
|
|
export { linkSync, link } from "./link";
|
2018-09-19 00:38:24 -04:00
|
|
|
export { symlinkSync, symlink } from "./symlink";
|
2019-02-13 08:50:15 -05:00
|
|
|
export { writeFileSync, writeFile, WriteFileOptions } from "./write_file";
|
2018-09-09 19:28:56 -04:00
|
|
|
export { ErrorKind, DenoError } from "./errors";
|
2019-03-04 11:04:19 -05:00
|
|
|
export {
|
|
|
|
permissions,
|
|
|
|
revokePermission,
|
|
|
|
Permission,
|
|
|
|
Permissions
|
|
|
|
} from "./permissions";
|
2018-09-30 15:06:20 -04:00
|
|
|
export { truncateSync, truncate } from "./truncate";
|
2018-10-03 21:41:59 -04:00
|
|
|
export { FileInfo } from "./file_info";
|
2018-10-03 23:58:29 -04:00
|
|
|
export { connect, dial, listen, Listener, Conn } from "./net";
|
2019-02-13 08:50:15 -05:00
|
|
|
export { metrics, Metrics } from "./metrics";
|
2018-10-30 15:58:55 -04:00
|
|
|
export { resources } from "./resources";
|
2019-04-21 21:26:56 -04:00
|
|
|
export {
|
|
|
|
kill,
|
|
|
|
run,
|
|
|
|
RunOptions,
|
|
|
|
Process,
|
|
|
|
ProcessStatus,
|
|
|
|
Signal
|
|
|
|
} from "./process";
|
2018-12-19 22:08:49 -05:00
|
|
|
export { inspect } from "./console";
|
2019-03-11 20:34:48 -04:00
|
|
|
export { build, platform, OperatingSystem, Arch } from "./build";
|
2019-02-18 18:43:02 -05:00
|
|
|
export { version } from "./version";
|
2018-09-22 08:47:44 -04:00
|
|
|
export const args: string[] = [];
|
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.
|
|
|
|
/** @internal */
|
|
|
|
export { core } from "./core";
|
|
|
|
|
2018-12-23 11:44:08 -05:00
|
|
|
// TODO Don't expose Console nor stringifyArgs.
|
2019-02-13 08:50:15 -05:00
|
|
|
/** @internal */
|
2018-12-23 11:44:08 -05:00
|
|
|
export { Console, stringifyArgs } from "./console";
|
|
|
|
// TODO Don't expose DomIterableMixin.
|
2019-02-13 08:50:15 -05:00
|
|
|
/** @internal */
|
2018-12-23 11:44:08 -05:00
|
|
|
export { DomIterableMixin } from "./mixins/dom_iterable";
|