Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paths_unix.go: Parse user-dirs.dirs for XDG values #85

Closed
wants to merge 1 commit into from
Closed

paths_unix.go: Parse user-dirs.dirs for XDG values #85

wants to merge 1 commit into from

Conversation

rcalixte
Copy link

@rcalixte rcalixte commented Jul 4, 2024

This will look for user-dirs.dirs in the user default path and if found, update the base values with valid keys from the XDG specifications.

Fixes #29
Closes #42

Apologies for the possible intrusion here. I would like to use this package in some future projects but this functionality is a prerequisite. I had contemplated using a map here among other data structures but opted for this proposal instead. I'm open to any feedback here. Thanks for this!

This will look for user-dirs.dirs in the user default path and if found, update
the base values with valid keys from the XDG specifications.

Fixes #29
Closes #42
@adrg
Copy link
Owner

adrg commented Jul 6, 2024

Hi @rcalixte. Thank you for the PR.

Coincidentally, I was already working on this feature along with some other internal package improvements. I'll be releasing a new version of the package early next week.

@adrg
Copy link
Owner

adrg commented Jul 8, 2024

Thanks again for the PR.
Superseded by #87. Closing this one.

@adrg adrg closed this Jul 8, 2024
@rcalixte rcalixte deleted the xdg_user-dirs branch July 8, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parse ~/.config/user-dirs.dirs file
2 participants