Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DecodeEnvValue ¶
Types ¶
type CIDContext ¶
type CIDContext struct {
ProjectDir string // ProjectDir is the root directory of the project
WorkDir string // WorkDir is the current working directory, must be a subdirectory of ProjectDir or ProjectDir itself
Config *config.CIDConfig // Config is the CID configuration for the project
Env map[string]string // Env holds the resolved environment variables for the project
Modules []*analyzerapi.ProjectModule // Modules is a list of all discovered modules in the project
Executables []executable.Executable // Executables is a list of all executable candidates usable for command execution
}
func NewAppContext ¶
func NewAppContext() (*CIDContext, error)
func NewAppContextFromDir ¶ added in v0.6.0
func NewAppContextFromDir(projectDir string, workDir string) (*CIDContext, error)
Click to show internal directories.
Click to hide internal directories.