Module env

Source
Expand description

Utility functions for working with environment variables.

Constants§

MICROSANDBOX_HOME_ENV_VAR
Environment variable for the microsandbox home directory
MSBRUN_EXE_ENV_VAR
Environment variable for the msbrun binary path
MSBSERVER_EXE_ENV_VAR
Environment variable for the msbserver binary path
OCI_REGISTRY_ENV_VAR
Environment variable for the OCI registry domain

Functions§

get_microsandbox_home_path
Returns the path to the microsandbox home directory. If the MICROSANDBOX_HOME environment variable is set, returns that path. Otherwise, returns the default microsandbox home path.
get_oci_registry
Returns the domain for the OCI registry. If the OCI_REGISTRY_DOMAIN environment variable is set, returns that value. Otherwise, returns the default OCI registry domain.