Documentation
¶
Overview ¶
Package pathlint finds the file paths a recovered capability text names outside its anchors. The map holds no paths (vision §4.1): a path belongs only in a `from <path>` anchor on an entry's meta line, so a path in a heading, body or Because line is a problem to send back to the session.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hit ¶
Hit is one file path named where none belongs: its 1-based line in the text and the path as written.
func Find ¶
Find returns the paths one map file's text names outside its anchors, in order. It skips front matter, fenced blocks and each entry's meta line (the first non-blank line after a `### ` heading, which starts with a backtick); the title, overview, headings, bodies, Because and Rejected lines are read.