Skip to content

chore: stop using go-homedir - #10568

Merged
gammazero merged 3 commits into
masterfrom
no-go-homedir
Nov 5, 2024
Merged

gammazero merged 3 commits into
masterfrom
no-go-homedir

Conversation

@gammazero

@gammazero gammazero commented Nov 1, 2024 •

Copy link
Copy Markdown
Contributor

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
@gammazero
gammazero requested a review from hsanjuan November 4, 2024 16:34
@lidel lidel mentioned this pull request Nov 5, 2024
16 of 28 tasks
@gammazero
gammazero merged commit 4009ad3 into master Nov 5, 2024
@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