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

Merged
merged 3 commits into from
Nov 5, 2024
Merged

chore: stop using go-homedir #10568

merged 3 commits into from
Nov 5, 2024

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
@lidel lidel mentioned this pull request Nov 5, 2024
28 tasks
@gammazero gammazero merged commit 4009ad3 into master Nov 5, 2024
14 checks passed
@gammazero gammazero deleted the no-go-homedir branch November 5, 2024 15:45
lidel pushed a commit that referenced this pull request Nov 5, 2024
* chore: stop using go-homedir

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.

(cherry picked from commit 4009ad3)
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.

2 participants