Description

XDG Base Directory Specification implementation

Package Information

Version0.2.3 (2016-Sep-27)
Repository https://github.com/FreeSlave/xdgpaths
LicenseBSL-1.0
CopyrightCopyright © 2016, Roman Chistokhodov
AuthorsRoman Chistokhodov
Registered byRoman Chistokhodov
Sub packages
xdgpaths:test
A minimal D application.
Dependencies

isfreedesktop

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

XDG paths

D library for retrieving XDG base directories as described by XDG Base Directory Specification.

Build Status Coverage Status

Online documentation

Run example

export XDG_CONFIG_HOME=$HOME/config-test
dub run :test -- --path=config --shouldCreate --subfolder=Company/Product

export XDG_DATA_HOME=$HOME/data-test
dub run :test -- --path=data --shouldCreate --subfolder=Company/Product

export XDG_CACHE_HOME=$HOME/cache-test
dub run :test-- --path=cache --shouldCreate --subfolder=Company/Product

Available versions

0.2.3 0.2.2 0.2.1 0.2.0 0.1.3 0.1.2 0.1.1 0.1.0 ~master