package xdg-basedir

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

Module XDGBaseDir.ConfigSource

See Data for explanations about ~xdg_env and ~exists

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

Get the user-specific configuration directory.

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

Get a list of all system-specific configuration directories.

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

Get a list of all configuration directories.

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

Get the user-specific filename for a configuration file.

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

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

Sourceval 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.