Module XDGBaseDir.CacheSource

See Data for explanations about ~xdg_env and ~exists

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

Get the user-specific cache directory.

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

Get the user-specific filename for a cache file.