results

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResultsTable

type ResultsTable struct {
	LicenceInfos []licenceinfo.LicenceInfoInterface

	PathToOutputCLFile   string
	PathToOutputJsonFile string
	// contains filtered or unexported fields
}

func NewResultsTable

func NewResultsTable(debug bool) *ResultsTable

func (*ResultsTable) AddProcessedBytes

func (r *ResultsTable) AddProcessedBytes(sizeInBytes int64)

AddProcessedBytes adds the processed bytes to the progress bar

func (*ResultsTable) AddTotalBytes

func (r *ResultsTable) AddTotalBytes(sizeInBytes int64)

AddTotalBytes adds the total bytes to the progress bar

func (*ResultsTable) Done

func (r *ResultsTable) Done()

Done writes the results to the output file and sets the done flag

func (*ResultsTable) Lock

func (r *ResultsTable) Lock()

func (*ResultsTable) ReportResult

func (r *ResultsTable) ReportResult(offset int64, filename string, lic licenceinfo.LicenceInfoInterface)

ReportResult reports a found LICKEY and adds it to the results table

func (*ResultsTable) SetPathToOutputCLFile

func (r *ResultsTable) SetPathToOutputCLFile(path string)

SetPathToOutputFile sets the path to the output file

func (*ResultsTable) SetPathToOutputJsonFile

func (r *ResultsTable) SetPathToOutputJsonFile(path string)

SetPathToOutputJsonFile sets the path to the output JSON file

func (*ResultsTable) StartProgressPrinter

func (r *ResultsTable) StartProgressPrinter()

func (*ResultsTable) Unlock

func (r *ResultsTable) Unlock()

func (*ResultsTable) WriteResultsToFile

func (r *ResultsTable) WriteResultsToFile()

WriteResultsToFile writes the results to the output file

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL