package xdg
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
XDG Base Directory Specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
dune-3.23.1.tbz
sha256=93b4e7157f6ba8feb61cfc5f86008efd2c59037ba78a017d92b4abf30632348f
sha512=e5566bedc651292ae54d47ba1cdbcfff48962012c1436d0f9ece49a71aa10a674affc092058b0edee56ab2a2405c545b78fde1c472c0b4704c8f58570a2f46cd
doc/index.html
xdg - the XDG base directories specification
Introduction
Where should your application put its files? Somewhere in $HOME? Do non-Unix systems have something like that? What about cache files?
Fortunately, there is a standard for this - the XDG base directories specification.
This library implements this standard and extends it in a way that works on Windows too.
Example
This computes the name of a config file for a program named acme.
let config_file_path =
let xdg = Xdg.create ~env:Sys.getenv_opt () in
let config_dir = Xdg.config_dir xdg in
Filename.concat config_dir "acme"API documentation
The entry point for this library is Xdg.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page