MCPcopy Create free account
hub / github.com/csskit/csskit / is_excluded_spec

Function is_excluded_spec

crates/csskit_spec_generator/src/excluded_specs.rs:6–9  ·  view source on GitHub ↗

Specs that should NOT be generated automatically. These specs either: - Are not real specs (e.g., easter eggs like css-egg) - Have been superseded by other specs

(spec_name: &str)

Source from the content-addressed store, hash-verified

4/// - Are not real specs (e.g., easter eggs like css-egg)
5/// - Have been superseded by other specs
6pub fn is_excluded_spec(spec_name: &str) -> bool {
7 let name = spec_name.strip_prefix("css-").unwrap_or(spec_name);
8 EXCLUDED_SPECS.contains(&name)
9}
10
11/// List of specs to exclude from automatic generation.
12const EXCLUDED_SPECS: &[&str] = &[

Callers 1

mainFunction · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected