xdgpaths 0.2.1
XDG Base Directory Specification implementation
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
xdgpaths:xdgpathstest - A minimal D application.
XDG paths
D library for retrieving XDG base directories as described by XDG Base Directory Specification.
Run example
export XDG_CONFIG_HOME=$HOME/config-test
dub run xdgpaths:xdgpathstest -- --path=config --shouldCreate --subfolder=Company/Product
export XDG_DATA_HOME=$HOME/data-test
dub run xdgpaths:xdgpathstest -- --path=data --shouldCreate --subfolder=Company/Product
export XDG_CACHE_HOME=$HOME/cache-test
dub run xdgpaths:xdgpathstest -- --path=cache --shouldCreate --subfolder=Company/Product
- Registered by Roman Chistokhodov
- 0.2.1 released 8 years ago
- FreeSlave/xdgpaths
- BSL-1.0
- Copyright © 2016, Roman Chistokhodov
- Authors:
- Sub packages:
- xdgpaths:xdgpathstest
- Dependencies:
- isfreedesktop
- Versions:
-
0.2.5 2018-May-04 0.2.4 2017-Jun-27 0.2.3 2016-Sep-27 0.2.2 2016-Jun-21 0.2.1 2016-Mar-30 - Download Stats:
-
-
9 downloads today
-
80 downloads this week
-
339 downloads this month
-
26088 downloads total
-
- Score:
- 2.5
- Short URL:
- xdgpaths.dub.pm