Library for getting standard paths
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
This package provides sub packages which can be used individually:
standardpaths:printdirs - A minimal D application.
standardpaths:findexecutable - A minimal D application.
D library for getting standard paths (e.g. Pictures, Music, Documents). Inspired by QStandardPaths from Qt.
The library is in early development. API may change in future. Join discussions in Issues if you're interested.
Currently works on Windows, Linux and FreeBSD.
Prints some standard paths to stdout.
dub run standardpaths:printdirs --build=release
Take name of executable as command line argument and search PATH environment variable for retrieving absolute path to file.
dub run standardpaths:findexecutable --build=release -- whoami
On Posix systems library uses XDG Base Directory Specification and xdg-user-dirs.
On Windows it utilizes SHGetSpecialFolderPath.
- Registered by Roman Chistokhodov
- 0.0.1-alpha released 8 years ago
- Sub packages:
- standardpaths:printdirs, standardpaths:findexecutable
0.8.2 2021-Jun-12 0.8.1 2018-May-05 0.8.0 2017-Oct-11 0.7.1 2016-Sep-26 0.7.0 2016-Jun-27
- Download Stats:
14 downloads today
95 downloads this week
295 downloads this month
14561 downloads total
- Short URL: