Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter interface {
Format(result *scanner.ScanResult) error
}
Formatter defines the interface for output formatting
type TableFormatter ¶
type TableFormatter struct {
// contains filtered or unexported fields
}
TableFormatter formats output as a table
func NewTableFormatter ¶
func NewTableFormatter() *TableFormatter
NewTableFormatter creates a new table formatter
func (*TableFormatter) Format ¶
func (t *TableFormatter) Format(result *scanner.ScanResult) error
Format outputs the scan results as a formatted table
func (*TableFormatter) SetShowConflictsOnly ¶
func (t *TableFormatter) SetShowConflictsOnly(show bool)
SetShowConflictsOnly sets whether to show only conflicting binaries
func (*TableFormatter) SetShowGhostsOnly ¶
func (t *TableFormatter) SetShowGhostsOnly(show bool)
SetShowGhostsOnly sets whether to show only ghost binaries
Click to show internal directories.
Click to hide internal directories.