feat: add Deno.osName() (#5714)

This commit is contained in:
Rubin Bhandari 2020-06-11 22:56:26 +05:45 committed by GitHub
parent 818a801092
commit 6ccf9037a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 49 additions and 12 deletions

View file

@ -53,7 +53,7 @@ export {
export { metrics, Metrics } from "./ops/runtime.ts";
export { mkdirSync, mkdir, MkdirOptions } from "./ops/fs/mkdir.ts";
export { connect, listen, Listener, Conn } from "./net.ts";
export { env, exit, execPath } from "./ops/os.ts";
export { dir, env, exit, execPath, osName } from "./ops/os.ts";
export { run, RunOptions, Process, ProcessStatus } from "./process.ts";
export { DirEntry, readDirSync, readDir } from "./ops/fs/read_dir.ts";
export { readFileSync, readFile } from "./read_file.ts";