Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDiffCommand ¶
Types ¶
type FileFragment ¶
type FileFragment struct { Path string `json:"path"` Lines []int `json:"lines"` Functions []*sibyl2.FunctionContext `json:"functions"` }
func (*FileFragment) Flatten ¶
func (f *FileFragment) Flatten() *ThinFileFragment
type FunctionWithWeight ¶
type ParseResult ¶
type ParseResult struct {
Fragments []*FileFragment `json:"fragments"`
}
func (*ParseResult) Flatten ¶
func (p *ParseResult) Flatten() *ThinParseResult
type ThinFileFragment ¶
type ThinFileFragment struct { Path string `json:"path"` Lines []int `json:"lines"` Functions []*FunctionWithWeight `json:"functions"` }
type ThinParseResult ¶
type ThinParseResult struct {
Fragments []*ThinFileFragment `json:"fragments"`
}
Click to show internal directories.
Click to hide internal directories.