Skip to main content

is_code

Function is_code 

Source
pub fn is_code(format: &str) -> bool
Expand description

Whether a format counts as the project’s code: prose and data (has_control_flow) and markup (is_markup) do not. This one test decides where complexity can be above zero, and through that which files are health::compute’s “code files”; a format-level duplication breakdown leaves the same formats out.