blastradius

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) int

Types

type Report

type Report struct {
	Base            string         `json:"base"`
	ChangedFiles    int            `json:"changedFiles"`
	ChangedSymbols  int            `json:"changedSymbols"`
	DirectConsumers int            `json:"directConsumers"`
	Modules         int            `json:"modules"`
	TopFanIn        []SymbolImpact `json:"topFanIn"`
}

func Analyze

func Analyze(root, base string) (Report, error)

type SymbolImpact

type SymbolImpact struct {
	Symbol        string   `json:"symbol"`
	File          string   `json:"file"`
	Line          int      `json:"line"`
	ConsumerFiles int      `json:"consumerFiles"`
	Modules       []string `json:"modules"`
}

Jump to

Keyboard shortcuts

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