https://github.com/freeslave/xdgpaths
XDG Base Directory Specification implementation in D programming language
https://github.com/freeslave/xdgpaths
d dlang xdg
Last synced: 7 months ago
JSON representation
XDG Base Directory Specification implementation in D programming language
- Host: GitHub
- URL: https://github.com/freeslave/xdgpaths
- Owner: FreeSlave
- License: bsl-1.0
- Created: 2016-03-10T22:08:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T11:49:12.000Z (over 4 years ago)
- Last Synced: 2025-01-22T14:45:50.300Z (9 months ago)
- Topics: d, dlang, xdg
- Language: D
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# XDG paths
D library for retrieving XDG base directories as described by [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/index.html).
[](https://github.com/FreeSlave/xdgpaths/actions/workflows/ci.yml) [](https://coveralls.io/github/FreeSlave/xdgpaths?branch=master)
[Online documentation](https://freeslave.github.io/d-freedesktop/docs/xdgpaths.html)
## Run [example](examples/test.d)
XDG_CONFIG_HOME=$HOME/config-test dub examples/test.d --path=config --shouldCreate --subfolder=Company/Product
XDG_DATA_HOME=$HOME/data-test dub examples/test.d --path=data --shouldCreate --subfolder=Company/Product
XDG_CACHE_HOME=$HOME/cache-test dub examples/test.d --path=cache --shouldCreate --subfolder=Company/Product