Documentation
¶
Index ¶
Constants ¶
View Source
const (
// config file
DefaultConfigFile = "srctx_cfg.json"
)
Variables ¶
This section is empty.
Functions ¶
func AddConfigCmd ¶ added in v0.10.0
func AddDiffCmd ¶
Types ¶
type ImpactUnitWithFile ¶ added in v0.10.0
type ImpactUnitWithFile struct {
*object.ImpactUnit
// line level impact
ImpactLineCount int `csv:"impactLineCount" json:"impactLineCount"`
TotalLineCount int `csv:"totalLineCount" json:"totalLineCount"`
}
func WrapImpactUnitWithFile ¶ added in v0.10.0
func WrapImpactUnitWithFile(impactUnit *object.ImpactUnit) *ImpactUnitWithFile
type Options ¶ added in v0.10.0
type Options struct {
// required
Src string `json:"src"`
RepoRoot string `json:"repoRoot"`
Before string `json:"before"`
After string `json:"after"`
LsifZip string `json:"lsifZip"`
ScipFile string `json:"scipFile"`
// output
OutputJson string `json:"outputJson"`
OutputCsv string `json:"outputCsv"`
OutputDot string `json:"outputDot"`
OutputHtml string `json:"outputHtml"`
StatJson string `json:"statJson"`
// options
NodeLevel string `json:"nodeLevel"`
WithIndex bool `json:"withIndex"`
CacheType string `json:"cacheType"`
Lang string `json:"lang"`
NoDiff bool `json:"noDiff"`
NoEntries bool `json:"noEntries"`
IndexCmd string `json:"indexCmd"`
}
func NewOptionsFromCliFlags ¶ added in v0.10.0
func NewOptionsFromJSONFile ¶ added in v0.10.0
func NewOptionsFromSrc ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.