env

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_PKG_PATH_IN_UER_HOME = ".kcl"
View Source
const KPM_SUB_DIR = "kpm"
View Source
const PKG_PATH = "KCL_PKG_PATH"

env name

Variables

This section is empty.

Functions

func GetAbsPkgPath

func GetAbsPkgPath() (string, error)

GetAbsPkgPath will return the absolute path of $KCL_PKG_PATH, or the absolute path of the current path if $KCL_PKG_PATH does not exist.

func GetEnvPkgPath

func GetEnvPkgPath() string

GetEnvPkgPath will return the env $KCL_PKG_PATH.

func GetKpmSubDir

func GetKpmSubDir() string

GetKpmSubDir will return the subdir for kpm ".kcl/kpm"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL