Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/js/node/Os.hx
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,21 @@ extern class Os {

@see https://nodejs.org/api/os.html#os_os_tmpdir
**/
function tmpdir():String;
static function tmpdir():String;

/**
The `os.totalmem()` method returns the total amount of system memory in bytes as an integer.

@see https://nodejs.org/api/os.html#os_os_totalmem
**/
function totalmem():Int;
static function totalmem():Int;

/**
The `os.type()` method returns a string identifying the operating system name as returned by uname(3). For example, `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.

@see https://nodejs.org/api/os.html#os_os_type
**/
function type():String;
static function type():String;

/**
The `os.uptime()` method returns the system uptime in number of seconds.
Expand Down