dag

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder(
	dag *executiondag.DAG[dag_impl.Input],
	input *dag_impl.Input,
	langs map[string]language.Language,
	ctx context.Context,
) error

Builder is the DAG builder used by the local CLI (risk-guard-local <path>). Its node list is independent of the server Builder — edit one without touching the other. The local profile carries no upstream vulnerability data sources.

func PackageBuilder

func PackageBuilder(
	dag *executiondag.DAG[dag_impl.Input],
	input *dag_impl.Input,
	langs map[string]language.Language,
	ctx context.Context,
) error

PackageBuilder is the DAG builder for scoring a package-shape input on the local CLI (audit / audit-package). BuildGitDag resolves the source URL from registry metadata and clones it, then the same check set as Builder runs. No upstream vulnerability data sources, matching the local profile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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