blastradius

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Overview

Package blastradius implements the `supermodel blast-radius` command. Given a file or function, it queries the Supermodel API call graph to show which other files and functions would be affected by a change.

This is a vertical slice. It must not import any other slice package. It may import from the shared kernel: internal/api, internal/cache, internal/config, internal/ui, internal/build.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg *config.Config, dir string, targets []string, opts Options) error

Run uploads the repo and runs impact analysis via the dedicated API endpoint.

Types

type Options

type Options struct {
	Force  bool   // bypass cache
	Output string // "human" | "json"
	Diff   string // path to a unified diff file (optional)
}

Options configures the blast-radius command.

Jump to

Keyboard shortcuts

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