Skip to main content

is_spec_shaped

Function is_spec_shaped 

Source
pub fn is_spec_shaped(name: &str) -> bool
Expand description

Whether a document is shaped like a specification of this convention.

The shape is the filename, because a generic document under specs/ is the project’s own and is not this convention’s specification missing a rule. Calling that structural would sweep files nobody adopted.