package directories

  1. Overview
  2. Docs
An OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.7.tar.gz
sha256=a7626d412d0f3520eb9c5b1f74b843dd8c95fcfb185979cccc603cea289ccf4a
sha512=c1558bde98cd3cc2b33144903f089fa7917e1d1143c30180a3131ff8e62905ebfe36ec0d926215ef4f7c26a12a3407eaad2c76b2d945e6c2d8011fefac062d70

doc/CHANGES.html

unreleased

0.7 - 2025-11-03

  • fix environment variables for config_dir and data_dir (thanks @rossberg)

0.6 - 2025-01-28

  • use Fpath.t instead of string where possible

0.5 - 2022-01-09

  • add Base_dirs.state_dir, on linux it uses $XDG_STATE_HOME and default to $HOME/.local/.state on macOS and Windows it's equivalent to Base_dirs.cache_dir ; add Projects_dirs.state_dir

0.4 - 2021-11-25

  • rename module Common to Directories_common

0.3 - 2021-03-31

  • use ctypes.stubs instead of ctypes.foreign on windows
  • clean the windows implementation

0.2 - 2020-11-09

  • fix opam file

0.1 - 2020-11-08

First release