Documentation
¶
Overview ¶
Package deadcode implements the `supermodel dead-code` command. It calls the Supermodel API to identify functions and files with no callers, then renders the results as a table or JSON.
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 ¶
Types ¶
type Options ¶
type Options struct {
Force bool // bypass cache
Output string // "human" | "json"
MinConfidence string // "high" | "medium" | "low"
Limit int // max candidates to return; 0 = all
Ignore []string // glob patterns to exclude (supports **)
Timeout int // max seconds; 0 = no limit (context deadline applied by cmd layer)
}
Options configures the dead-code command.
Click to show internal directories.
Click to hide internal directories.