Documentation
¶
Overview ¶
Package analyze implements the `supermodel analyze` command. It uploads a repository ZIP to the Supermodel API, runs the full analysis pipeline, and caches the resulting graph locally.
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 GetGraph ¶
func GetGraph(ctx context.Context, cfg *config.Config, dir string, force bool) (*api.Graph, string, error)
GetGraph returns the display graph for dir, running analysis if the cache is cold or force is true. It returns the graph and the zip hash used as the cache key (useful for downstream commands).
Types ¶
Click to show internal directories.
Click to hide internal directories.