Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetHomeDir ¶
func SetHomeDir(home string)
SetHomeDir sets the home directory for the current user
func UseTestHome ¶
UseTestHome is for unit testing only. It sets the dataDir to a temporary directory that is cleaned up after the test.
Types ¶
type Store ¶
type Store string
Store contains the name of the subdirectory in the data directory For example Store(certs) would return ~/.vite/certs
Click to show internal directories.
Click to hide internal directories.