Something went wrong. Try again.
Something went wrong. Try again.
feat: add xdg_*_or methods for all XDG directory constants
Add 14 public methods (xdg_bin_home_or, xdg_cache_home_or, etc.) that check the corresponding XDG environment variable and fall back to a caller-provided default instead of platform-specific defaults. Each method is documented with examples and tested for three cases: returns XDG value when set, returns default when unset, and returns default when XDG contains a relative path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author Co-author Claude Opus 4.6 (1M context) Date (Apr 11, 2026, 5:32 PM UTC) Commit
Copy SHA
Parent a7f72d83 a7f72d83969f9965e79bda768714563a761e0e32 Change ID Copy change ID