Home / Function/ only_ignores() — tailwindcss Function Reference

only_ignores() — tailwindcss Function Reference

Architecture documentation for the only_ignores() function in overrides.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  240ae83e_7fc2_576e_d963_b4a5e1a5a00a["only_ignores()"]
  52347134_96cd_d924_bf0e_ace2445ef938["overrides.rs"]
  240ae83e_7fc2_576e_d963_b4a5e1a5a00a -->|defined in| 52347134_96cd_d924_bf0e_ace2445ef938
  ca8d95b0_041a_dd9a_9af7_951d5c1eb32e["ov()"]
  240ae83e_7fc2_576e_d963_b4a5e1a5a00a -->|calls| ca8d95b0_041a_dd9a_9af7_951d5c1eb32e
  861ae265_95d8_b683_317d_caa0c8044fcb["matched()"]
  240ae83e_7fc2_576e_d963_b4a5e1a5a00a -->|calls| 861ae265_95d8_b683_317d_caa0c8044fcb
  style 240ae83e_7fc2_576e_d963_b4a5e1a5a00a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/overrides.rs lines 213–219

    fn only_ignores() {
        let ov = ov(&["!*.bar"]);
        assert!(ov.matched("a.rs", false).is_none());
        assert!(ov.matched("a.rs", true).is_none());
        assert!(ov.matched("a.bar", false).is_ignore());
        assert!(ov.matched("a.bar", true).is_ignore());
    }

Domain

Subdomains

Frequently Asked Questions

What does only_ignores() do?
only_ignores() is a function in the tailwindcss codebase, defined in crates/ignore/src/overrides.rs.
Where is only_ignores() defined?
only_ignores() is defined in crates/ignore/src/overrides.rs at line 213.
What does only_ignores() call?
only_ignores() calls 2 function(s): matched, ov.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free