walker

package
v0.0.0-...-07614fb Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package walker holds the trivy walkers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSWalker

type FSWalker struct{}

FSWalker is the filesystem walker used for SBOM generation

func NewFSWalker

func NewFSWalker() *FSWalker

NewFSWalker returns a new filesystem walker

func (*FSWalker) Walk

func (w *FSWalker) Walk(ctx context.Context, rootPath string, opt walker.Option, fn walker.WalkFunc) error

Walk walks the filesystem rooted at root, calling fn for each unfiltered file.

Jump to

Keyboard shortcuts

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