ballerina/os

Package overview

This package provides functions to retrieve information about the operating system and the current users of the operating system.

For information on the operations, which you can perform with the os package, see the below Functions.

Functions

[3]

getEnv

Returns the environment variable value associated with the provided name.

getUserHome

Returns the current user's home directory path.

getUsername

Returns the current user's name.