System

zio.System
See theSystem companion trait
object System

Attributes

Companion
trait
Source
System.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
System.type

Members list

Type members

Classlikes

object OS

Attributes

Companion
trait
Source
System.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OS.type
sealed trait OS

Attributes

Companion
object
Source
System.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Mac
object Solaris
object Unix
object Unknown
object Windows
Self type
OS
object SystemLive extends System

Attributes

Source
System.scala
Supertypes
trait System
trait Serializable
class Object
trait Matchable
class Any
Self type
SystemLive.type

Value members

Concrete methods

def env(variable: => String)(implicit trace: Trace): IO[SecurityException, Option[String]]

Retrieves the value of an environment variable.

Retrieves the value of an environment variable.

Attributes

Source
System.scala
def envOrElse(variable: => String, alt: => String)(implicit trace: Trace): IO[SecurityException, String]

Retrieves the value of an environment variable or else returns the specified fallback value.

Retrieves the value of an environment variable or else returns the specified fallback value.

Attributes

Source
System.scala
def envOrOption(variable: => String, alt: => Option[String])(implicit trace: Trace): IO[SecurityException, Option[String]]

Retrieves the value of an environment variable or else returns the specified optional fallback value.

Retrieves the value of an environment variable or else returns the specified optional fallback value.

Attributes

Source
System.scala
def envs(implicit trace: Trace): IO[SecurityException, Map[String, String]]

Retrieves the values of all environment variables.

Retrieves the values of all environment variables.

Attributes

Source
System.scala
def lineSeparator(implicit trace: Trace): UIO[String]

Retrieves the value of the system-specific line separator.

Retrieves the value of the system-specific line separator.

Attributes

Source
System.scala
def properties(implicit trace: Trace): Task[Map[String, String]]

Retrieves the values of all system properties.

Retrieves the values of all system properties.

Attributes

Source
System.scala
def property(prop: => String)(implicit trace: Trace): Task[Option[String]]

Retrieves the value of a system property.

Retrieves the value of a system property.

Attributes

Source
System.scala
def propertyOrElse(prop: => String, alt: => String)(implicit trace: Trace): Task[String]

Retrieves the value of a system property or else return the specified fallback value.

Retrieves the value of a system property or else return the specified fallback value.

Attributes

Source
System.scala
def propertyOrOption(prop: => String, alt: => Option[String])(implicit trace: Trace): Task[Option[String]]

Retrieves the value of a system property or else return the specified optional fallback value.

Retrieves the value of a system property or else return the specified optional fallback value.

Attributes

Source
System.scala

Concrete fields

lazy val os: OS

Attributes

Source
System.scala

Implicits

Implicits

implicit val tag: Tag[System]

Attributes

Source
System.scala