Skip to content

Commit 3c1de2e

Browse files
committed
pkg/homedir: deprecate Key() utility
This utility was only used in tests, and internally, and no longer used since we switch to using os.UserHomeDir() from stdlib. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent ddd9665 commit 3c1de2e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/homedir/homedir.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import (
88

99
// Key returns the env var name for the user's home dir based on
1010
// the platform being run on.
11+
//
12+
// Deprecated: this function is no longer used, and will be removed in the next release.
1113
func Key() string {
1214
return envKeyName
1315
}

0 commit comments

Comments
 (0)