scanner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanResult

type ScanResult struct {
	Path     string             `json:"path"`
	Findings []detector.Finding `json:"findings"`
}

ScanResult contains the scan path and all findings.

func Scan

func Scan(dir string) (*ScanResult, error)

Scan walks the directory, builds a file index, and runs all detectors.

func ScanAll

func ScanAll(dir string, depth int) ([]ScanResult, error)

ScanAll discovers sub-projects and scans them in parallel.

Jump to

Keyboard shortcuts

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