package 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 cache directory.

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

Get the user-specific filename for a cache file.

OCaml

Innovation. Community. Security.