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

chore: stop using go-homedir #10568

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

chore: stop using go-homedir #10568

wants to merge 2 commits into from

Conversation

gammazero
Copy link
Contributor

@gammazero gammazero commented Nov 1, 2024

The github.com/mitchellh/go-homedir repo is archived, no longer needed, and no longer maintained.

  • homedir.Dir is replaced by the stdlib os.UserHomeDir
  • homedir.Expand is replaced by fsutil.ExpandHome in the github.com/ipfs/kubo/misc/fsutil package.

Additional functionality, such as DirWritable and FileExists was moved into or included in the github.com/ipfs/kubo/misc/fsutil package.

The `github.com/mitchellh/go-homedir` repo is archived, no longer needed, and no longer maintained.

- `homedir.Dir` is replaced by the stdlib `os.UserHomeDir`
- `homedir.Expand` is replaced by fsutil.ExpandHome` in the `github.com/ipfs/kubo/misc/fsutil` package.

Additional functionality, such as `DirWritable` and `FileExists` was moved into or included in the `github.com/ipfs/kubo/misc/fsutil` package.
@gammazero gammazero requested a review from a team as a code owner November 1, 2024 02:30
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.

1 participant