docpathexists

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package docpathexists implements the `doc-path-exists` rule type (spec §5): repo-relative paths cited in docs and comments must exist on disk. A capturing regex pulls each cited path token out of the in-scope files; existence is resolved once, after the whole scan, against the repository root. A cited path that is absent is a finding at its citing location; only an unexpected stat failure is an engine error (exit 2), never a silent pass (spec §11).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL