The BaseDirectory part of the freedesktop XDG specifications
Perl 6
Switch branches/tags
Latest commit a49ccdd Nov 4, 2017 @jonathanstowe jonathanstowe Add changes
Permalink
Failed to load latest commit information.
lib/XDG Fix incorrect .mkdir call Apr 14, 2017
t IMplement runtime-dir May 31, 2016
.gitignore Add precomp Mar 12, 2016
.travis.yml Alter travis config to use zef Aug 2, 2017
Changes Add changes Nov 4, 2017
LICENCE rename LICENCE as en_GB May 30, 2016
META6.json Fix licence Apr 22, 2017
README.md No panda Aug 21, 2017

README.md

XDG::BaseDirectory

Perl 6 access to path information provided by the xdg base directory specfication http://www.freedesktop.org/wiki/Specifications/basedir-spec/.

Build Status

Description

This is loosely based on the interface of python module pyxdg. But due to the differences between Python and Perl 6 it may do some things differently.

It provides a set of facilities for discovering the location configuration and data of applications.

I split this out from the XDG module as it has more general usefulness and no external dependencies.

Installation

Assuming you have a working Rakudo Perl 6 installation with zef installed you can install from a copy of the source directory:

 zef install .

or remotely:

 zef install XDG::BaseDirectory 

Support

Suggestions/patches are welcomed via github at:

https://github.com/jonathanstowe/XDG-BaseDirectory/issues

I'm not able to test on a wide variety of platforms so any help there would be appreciated.

Licence

Please see the LICENCE file in the distribution

© Jonathan Stowe 2015, 2016, 2017