Documentation
¶
Overview ¶
Package clarityconfig loads the opt-in configuration stored under a repo's .clarity directory. It is the single source of truth for module declarations so every consumer (`clarity show --collapse`, `clarity show --module <name>`, and `clarity modules`) resolves the same set and cannot drift apart.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadModules ¶
LoadModules reads .clarity/modules.json from repoRoot and returns the declared modules with their file patterns expanded (globs) and resolved to absolute graph-node paths. It returns nil with no error when the file is absent, so module config is purely opt-in. Globs that match nothing are not an error: CollapseModules already ignores members absent from the graph.
Types ¶
This section is empty.