package xdg
All checked builds pass 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.25.0.tbz
sha256=1d706779fa8405769a1ae667e4baaf4220ed87ec9d8be9d4fea0cf75bd79013b
sha512=5a03cac721d558b75d68888be0fab149bff7dd3e21a42ea7ac127e44d82b1d6b0454eb4fc9d2395815c5faecd66d4b553e6226508b788bd5a60530b457ecbd19
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