Documentation ¶
Index ¶
- func GetActiveVersion() (string, error)
- func GetConfigPath() (string, error)
- func GetInstalledVersions() (map[string]string, error)
- func GetPathToActiveBinDir() string
- func GetPathToActiveQuartoExe() string
- func GetPathToVersionsDir() string
- func GetRootConfigPath() string
- func GetRootDataPath() string
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActiveVersion ¶ added in v0.0.4
func GetConfigPath ¶
func GetInstalledVersions ¶
GetInstalledVersions returns a map of installed versions where they key is the version and the value is the path to the quarto executable
func GetPathToActiveBinDir ¶
func GetPathToActiveBinDir() string
GetPathToActiveBinDir returns the path to the active version's bin directory if that directory does not exist, it will be created with perms 700
func GetPathToActiveQuartoExe ¶ added in v0.0.4
func GetPathToActiveQuartoExe() string
func GetPathToVersionsDir ¶
func GetPathToVersionsDir() string
func GetRootConfigPath ¶
func GetRootConfigPath() string
func GetRootDataPath ¶
func GetRootDataPath() string
Types ¶
Click to show internal directories.
Click to hide internal directories.