package ocaml-xdg-basedir

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

See Data for explanations about ~xdg_env and ~exists

val user_dir : ?xdg_env:t -> ?exists:bool -> unit -> dirname

Get the user-specific configuration directory.

val system_dirs : ?xdg_env:t -> ?exists:bool -> unit -> dirname list

Get a list of all system-specific configuration directories.

val all_dirs : ?xdg_env:t -> ?exists:bool -> unit -> dirname list

Get a list of all configuration directories.

val user_file : ?xdg_env:t -> ?exists:bool -> filename -> filename

Get the user-specific filename for a configuration file.

val system_files : ?xdg_env:t -> ?exists:bool -> filename -> filename list

Get the list of system-specific filenames for a configuration file.

val all_files : ?xdg_env:t -> ?exists:bool -> filename -> filename list

Get the list of all filenames for a specific configuration file.

OCaml

Innovation. Community. Security.