Documentation
¶
Overview ¶
Package install diagnoses GitCode CLI installation sources and PATH conflicts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandResolution ¶
type CommandResolution struct {
Selected string `json:"selected,omitempty"`
Candidates []string `json:"candidates"`
}
CommandResolution describes how a command name resolves through PATH.
type Report ¶
type Report struct {
Version string `json:"version"`
Commit string `json:"commit,omitempty"`
Built string `json:"built,omitempty"`
Distribution string `json:"distribution"`
Entrypoint string `json:"entrypoint"`
Binary string `json:"binary"`
Commands map[string]CommandResolution `json:"commands"`
PowerShellGCAlias bool `json:"powershell_gc_alias"`
Conflicts []string `json:"conflicts"`
Recommendations []string `json:"recommendations"`
}
Report is the stable JSON contract for doctor install.
Source Files
¶
- install.go
Click to show internal directories.
Click to hide internal directories.