Versions in this module Expand all Collapse all v3 v3.0.0 Sep 29, 2024 Changes in this version + const FileErrors + const FileMatches + const FileStats + const FileTasks + const FileTemplates + type Afero struct + func New(fs afero.Fs, basePath string) (*Afero, error) + func (a *Afero) Cleanup(ctx context.Context) error + func (a *Afero) ErrorsIterator(ctx context.Context) (chan scan.Error, scan.CloseFunc, error) + func (a *Afero) LoadErrors(ctx context.Context) ([]scan.Error, error) + func (a *Afero) LoadMatches(ctx context.Context) ([]scan.Match, error) + func (a *Afero) LoadStats(ctx context.Context) (*scan.Stats, error) + func (a *Afero) LoadTasksSummaries(ctx context.Context) ([]scan.TaskSummary, error) + func (a *Afero) LoadTemplates(ctx context.Context) ([]scan.Template, error) + func (a *Afero) MatchesIterator(ctx context.Context) (chan scan.Match, scan.CloseFunc, error) + func (a *Afero) StoreError(ctx context.Context, scanError scan.Error) error + func (a *Afero) StoreMatch(ctx context.Context, scanMatch scan.Match) error + func (a *Afero) StoreStats(ctx context.Context, stats *scan.Stats) error + func (a *Afero) StoreTaskSummary(ctx context.Context, scanTaskSummary scan.TaskSummary) error + func (a *Afero) StoreTemplate(ctx context.Context, scanTemplate scan.Template) error + func (a *Afero) TasksSummariesIterator(ctx context.Context) (chan scan.TaskSummary, scan.CloseFunc, error) + func (a *Afero) TemplatesIterator(ctx context.Context) (chan scan.Template, error)