Documentation ¶
Overview ¶
Package env answers where Encore tools and resources are located.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncoreGoRoot ¶
func EncoreGoRoot() string
EncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT.
func EncoreRuntimesPath ¶ added in v1.27.1
func EncoreRuntimesPath() string
EncoreRuntimesPath reports the path to the Encore runtime. It can be overridden by setting ENCORE_RUNTIMES_PATH.
func IsSSH ¶ added in v1.21.1
func IsSSH() bool
IsSSH reports whether the current session is an SSH session.
func List ¶
func List() []string
List reports Encore environment variables, in the same format as os.Environ().
func OptEncoreGoRoot ¶ added in v1.29.6
OptEncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT. If the goroot can't be found, it reports None.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.