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
Fully managed relational database service for MySQL, PostgreSQL, and SQL Server Icon
Fully managed relational database service for MySQL, PostgreSQL, and SQL Server

Focus on your application, and leave the database to us

Cloud SQL manages your databases so you don't have to, so your business can run without disruption. It automates all your backups, replication, patches, encryption, and storage capacity increases to give your applications the reliability, scalability, and security they need.
Try for 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