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

You Might Also Like
Achieve perfect load balancing with a flexible Open Source Load Balancer Icon
Achieve perfect load balancing with a flexible Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
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