Provides an implementation of the XDG Base Directory Specification. The specification defines a set of standard paths for storing application files, including data and configuration files. For portability and flexibility reasons, applications should use the XDG-defined locations instead of hardcoding paths. The package also includes the locations of well-known user directories, as well as other common directories such as fonts and applications. The current implementation supports most flavors of Unix, Windows, macOS and Plan 9. On Windows, where XDG environment variables are not usually set, the package uses Known Folders as defaults. Therefore, appropriate locations are used for common folders which may have been redirected.

Features

  • The current implementation supports most flavors of Unix, Windows, macOS and Plan 9
  • Documentation available
  • The package defines sensible defaults for XDG variables which are empty or not present in the environment
  • On Unix-like operating systems, XDG environment variables are tipically defined
  • XDG user directories
  • This project is licensed under the MIT license

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow xdg

xdg Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery turns your data warehouse into an AI platform. No new languages required.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xdg!

Additional Project Details

Programming Language

Go

Related Categories

Go Libraries

Registered

2024-06-03