Documentation
¶
Index ¶
- Variables
- func ConfigFile() string
- func Dir() string
- func EffectiveValue(key string) (string, error)
- func IsKnownKey(key string) bool
- func ListEffective() ([]string, error)
- func LoadUserOverrides() (map[string]any, error)
- func ReadJavaVersion() string
- func ReadJavaVersionFromFS(vfs fs.FS) string
- func SetValue(key string, value string) error
- func UnsetValue(key string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfigFile = errors.New("invalid config file")
Functions ¶
func ConfigFile ¶ added in v0.10.0
func ConfigFile() string
func EffectiveValue ¶ added in v0.10.0
func IsKnownKey ¶ added in v0.10.0
func ListEffective ¶ added in v0.10.0
func LoadUserOverrides ¶ added in v0.10.0
func ReadJavaVersion ¶
func ReadJavaVersion() string
ReadJavaVersion reads the .java-version file from the current working directory and returns the trimmed version string. If the file does not exist or cannot be read, it returns an empty string.
func ReadJavaVersionFromFS ¶ added in v0.11.0
func UnsetValue ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.