discover

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AnalyzerStubs embed.FS

We use go.mod.embed because embedding is not supported for go.mod files

Functions

func BuildAnalyzer

func BuildAnalyzer(analyzerDir, dest string) error

Build the analyzer binary from the given directory to the destination directory

func Copy

func Copy(src, dest string, copyFile func(string) bool) error

Copy all the files from the source directory to the destination directory

func CopyEmbeddedFiles

func CopyEmbeddedFiles(embeddedFiles embed.FS, dest string) error

Copy all the files recursively from the analyzerFiles embed.FS to the given directory

func DiscoverGoCheckers added in v0.4.0

func DiscoverGoCheckers(dir string) ([]string, error)

func GenerateAnalyzer

func GenerateAnalyzer(checkerDir, dest string) error

Generate the complete buildable analyzer from the .globstar directory

func GenerateBuiltinChecker added in v0.6.0

func GenerateBuiltinChecker(checkerDirs []string) error

Types

This section is empty.

Directories

Path Synopsis
fixtures

Jump to

Keyboard shortcuts

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