package xdg-basedir

  1. Overview
  2. Docs
XDG basedir location for data/cache/configuration files

Install

Dune Dependency

Authors

Maintainers

Sources

xdg-basedir-0.0.5.tbz
sha256=84f39ff2c470dcd5e36f1c50a77fbf1b417aae3263a1bd440d3e86dedd0382be
sha512=be38ff2331badcd7ef4861e71566d6355961f3fec7cd4e05e5aaa75b998afab29d4c05ad424a0df2bda6ecea9c014cc4b46839c5c2e6811ed15737bae9de03f7

Description

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 platforms 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. See he [xdg-basedir specification][spec] and the [Haskell implementation][haskell]. [haskell]: https://github.com/willdonnelly/xdg-basedir [spec]: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Published: 31 Dec 2024

README

XDG basedir location for data/cache/configuration files

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.

Installation

The recommended way to install fileutils is via the [opam package manager][opam]:

$ opam install xdg-basedir

Copyright and license

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

Dependencies (3)

  1. base-unix
  2. fileutils
  3. dune >= "2.9"

Dev Dependencies (2)

  1. odoc with-doc
  2. ounit2 with-test

Used by (1)

  1. ocaml-xdg-basedir >= "transition"

Conflicts

None

OCaml

Innovation. Community. Security.