Source File
os.go
Belonging Package
github.com/carapace-sh/carapace/pkg/traverse
package traverseimport// UserHomeDir returns the current user's home directory.func ( Context) (string, error) {return os.UserHomeDir()}// UserCacheDir returns the default root directory to use for user-specific cached data.func ( Context) (string, error) {return os.UserCacheDir()}// UserConfigDir returns the default root directory to use for user-specific configuration data.func ( Context) (string, error) {return os.UserConfigDir()}// TempDir returns the default directory to use for temporary files.func ( Context) (string, error) {return os.TempDir(), nil}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |