Packages

object OS

Source
os.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OS
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Kind extends AnyRef
  2. case class Memory(free: Bytes, total: Bytes, max: Bytes) extends Product with Serializable
  3. case class Pid(pid: Int, cmd: String) extends Product with Serializable
  4. sealed trait Unix extends Kind

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val Conf: StringMap
  5. lazy val Env: StringMap
  6. lazy val Prop: StringMap
  7. lazy val arch: String
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. lazy val bit: Int
  10. lazy val bootClasspath: List[File]
  11. lazy val bootpath: List[File]
  12. def browse(uri: String): Unit
  13. def browse(f: File): Unit
  14. lazy val classpath: List[File]
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  16. def computer: String
  17. lazy val cpus: Int
  18. def drive: Map[File, Memory]
  19. def edit(f: File): Unit
  20. def env(key: String): String
  21. def envOption(k: String): Option[String]
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. lazy val graalJVM: Boolean
  27. lazy val graalNative: Boolean
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def heap: Memory
  30. lazy val home: File
  31. lazy val hostname: String
  32. lazy val info: String
  33. lazy val ip: String
  34. lazy val isBt: Boolean
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. lazy val isLauncher: Boolean
  37. lazy val isLinux: Boolean
  38. lazy val isMac: Boolean
  39. lazy val isSbt: Boolean
  40. lazy val isWin: Boolean
  41. lazy val java10: Boolean
  42. lazy val java11: Boolean
  43. lazy val java12: Boolean
  44. lazy val java13: Boolean
  45. lazy val java14: Boolean
  46. lazy val java15: Boolean
  47. lazy val java16: Boolean
  48. lazy val java17: Boolean
  49. lazy val java7: Boolean
  50. lazy val java8: Boolean
  51. lazy val java9: Boolean
  52. lazy val javaVersion: Version
  53. def jkill(key: String): Unit
  54. def jps(key: String): Vector[Pid]
  55. def jps: Vector[Pid]
  56. def kill(key: String): Unit
  57. def kill(pid: Pid): Unit
  58. def kill(pid: Int): Unit
  59. lazy val kind: Kind
  60. lazy val name: String
  61. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  63. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  64. def open(uri: String): Unit
  65. def open(f: File): Unit
  66. lazy val path: List[File]
  67. def prop(key: String): String
  68. def ps(key: String): Vector[Pid]
  69. def ps: Iterator[Pid]
  70. lazy val pwd: File
  71. def ram: Option[Memory]
  72. lazy val scala210: Boolean
  73. lazy val scala211: Boolean
  74. lazy val scala212: Boolean
  75. lazy val scala213: Boolean
  76. lazy val scala3: Boolean
  77. lazy val scalaJS: Boolean
  78. lazy val scalaJVM: Boolean
  79. lazy val scalaNative: Boolean
  80. lazy val scalaVersion: Version
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def terminalSize: drx.Future[Vec]

    use tput to get the current terminal size http://stackoverflow.com/a/263900/622016 ; only works for unix

  83. def toString(): String
    Definition Classes
    AnyRef → Any
  84. lazy val user: String
  85. lazy val version: Version
  86. lazy val vm: String
  87. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  89. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  90. def where(basename: String): List[File]
  91. case object Linux extends Unix with Product with Serializable
  92. case object MacOS extends Unix with Product with Serializable
  93. case object Unknown extends Kind with Product with Serializable
  94. case object Windows extends Kind with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped