prodscan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatternTopLevels

func PatternTopLevels(patterns []string) map[string]bool

PatternTopLevels maps production scan patterns back to their top-level directory names for coverage-guard tests.

func Patterns

func Patterns(root string) []string

Patterns returns the repository production package patterns used by typed governance scanners. Missing top-level directories are skipped so temp-module fixtures can exercise the production entrypoints without synthetic dirs.

func PatternsExtended

func PatternsExtended(root string) []string

PatternsExtended widens Patterns(root) to include tests/ and tools/ — used by gates whose invariant covers production-like support packages shipped with build-tag gating (e.g. tests/e2e/internal/clients).

Types

This section is empty.

Jump to

Keyboard shortcuts

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