Skip to main content

path_is_stdlib_source

Function path_is_stdlib_source 

Source
pub fn path_is_stdlib_source(path: &Path) -> bool
Expand description

True when path points at Harn’s canonical embedded stdlib source tree.

Stdlib contract lints are intentionally path-driven: files under crates/harn-stdlib/src/stdlib/ are owned by Harn itself and must carry stable producer contracts, while user scripts and package sources should not inherit those repo-internal authoring rules.