Note
This library hasn't received a lot of udpates recently and is kept mostly for backward compatibility. The original author is not planning to add features or make significant updates. There is an alternative Directories which is a more complete alternative to this library, it notably supports the windows standard.
This library implements the xdg-basedir specification. It helps to define standard locations for configuration, cache and data files in the user directory and on the system.
It is a straightforward implementation on UNIX platform and try to apply consistent policies with regard to Windows directories.
It is inspired by the Haskell implementation of this specification, and it follows the same choices for Windows directories.
The xdg-basedir specification. and the Haskell implementation and the API of this implementation.
Install it using opam, or have a look at the opam config file if you want to do it yourself.
The recommended way to install fileutils is via the [opam package manager][opam]:
$ opam install xdg-basedir
(C) 2010 OCamlCore SARL
ocaml-xdg-basedir is distributed under the terms of the GNU Lesser General Public License version 2.1 with OCaml linking exception.
See COPYING.txt for more information.