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.24.1.tbz
sha256=0a8eaa62dfcb945802bcaf9a6f2026ca5228333ee391a1bdedd3e70a3f26ea2c
sha512=b9faebfa70cf87e5eb582a0cdd1cb2aa99b8195342afdd7f462365444a0a904819cacc8522a5a85800ed2281f84e82d49360010de7ff16e28047a74df9258e5e
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