Documentation
¶
Overview ¶
Command mapcheck validates docs/code-map.md, the gowt feature-to-code map.
Three checks, all against the repository the command runs in:
- Repository paths named in map tables exist. Cells may use `*` globs, {a,b} brace lists and <name> placeholders; a glob must match at least one file, everything else must stat.
- Markdown links in the map resolve to an existing file or directory (anchors and link titles are ignored).
- Every Go package - the union of `go list ./...` over darwin, windows and linux - is listed in the curated `Packages:` metadata of at least one map section, and every listed package exists.
`go list` only feeds the set of packages to check; map rows and the Packages: lists are curated by hand in the map itself.
Click to show internal directories.
Click to hide internal directories.