package xdg

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Implement the XDG base directories specification

http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

type t
val home_dir : t -> string
val config_dir : t -> string

The directory where the application should read/write config files.

val data_dir : t -> string

The directory where the application should read/write data files.

val cache_dir : t -> string

The directory where the application should read/write cached files.

val runtime_dir : t -> string option

The directory where the application should store socket files.

val create : ?win32:bool -> env:(string -> string option) -> unit -> t
OCaml

Innovation. Community. Security.