Description

Deimos-like binding to libxdg-basedir

Package Information

Version1.0.0 (2015-May-30)
Repositoryhttps://github.com/FreeSlave/libxdg-basedir
LicenseBSL-1.0
AuthorsRoman Chistokhodov
Registered byRoman Chistokhodov
Sub packages
xdg-basedir:basedir
xdg-basedir:basedir_fs
Dependenciesnone

Installation

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

dub.json
dub.sdl

Readme

libxdg-basedir

libxdg-basedir is an implementation of the XDG Base Directory specifications. This repository provides D binding to this library.

Usage

Add xdg-basedir as dependency to your dub.json:

"dependencies": {
    "xdg-basedir": "~master"
}

Don't forget to link to libxdg-basedir:

"libs" : ["xdg-basedir"]

Import the module in your code:

import deimos.xdgbasedir.basedir;
import deimos.xdgbasedir.basedir_fs;

Examples

Run:

dub run xdg-basedir:basedir    
dub run xdg-basedir:basedir_fs

You can find the source code of examples in deimos/xdgbasedir/basedir.d and deimos/xdgbasedir/basedir_fs.d files.

Available versions

1.0.0 0.2.0 0.1.0 ~master