Packages

o

cmdr

userdirs

object userdirs

Common directories for *user* applications, as specified by the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), with some adaptations made for macOS.

See also

dirs for conventional directories for an application of a given name, including system services.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. userdirs
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class project(name: String) extends Product with Serializable

    Same as userdirs, but with a project name appended to every path.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cacheHome: Path

    A directory in which to read and write user-specific non-essential (cached) data.

    A directory in which to read and write user-specific non-essential (cached) data.

    Should be considered read-writable.

    Corresponds to XDG_CACHE_HOME.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def configDirs: List[Path]

    A list of preference ordered directories relative to which configuration files should be searched, in addition to configHome.

    A list of preference ordered directories relative to which configuration files should be searched, in addition to configHome.

    Should be considered read-only.

    Corresponds to XDG_CONFIG_DIRS.

  8. def configHome: Path

    A directory relative to which user-specific configuration files should be written.

    A directory relative to which user-specific configuration files should be written.

    Should be considered read-writable.

    Corresponds to XDG_CONFIG_HOME.

  9. def dataDirs: List[Path]

    A list of preference ordered directories relative to which data files should be searched, in addition to dataHome.

    A list of preference ordered directories relative to which data files should be searched, in addition to dataHome.

    Should be considered read-only.

    Corresponds to XDG_DATA_DIRS.

  10. def dataHome: Path

    A directory relative to which user-specific data files should be written.

    A directory relative to which user-specific data files should be written.

    Should be considered read-writable.

    Corresponds to XDG_DATA_HOME.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def runtime: Path

    A directory in which to read and write user-specific runtime files, such as sockets and small temporary files.

    A directory in which to read and write user-specific runtime files, such as sockets and small temporary files.

    Should be considered read-writable.

    Corresponds to XDG_RUNTIME_DIR, with a fallback to ~/.run

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped