Home / Function/ custom_ignore_over_ignore() — tailwindcss Function Reference

custom_ignore_over_ignore() — tailwindcss Function Reference

Architecture documentation for the custom_ignore_over_ignore() function in dir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  8d776244_7360_01ee_5af9_5e53f8539e11["custom_ignore_over_ignore()"]
  510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b
  0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89["tmpdir()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89
  fe4c91f2_5b95_b103_1edb_19b3ea6da080["wfile()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| fe4c91f2_5b95_b103_1edb_19b3ea6da080
  195d465d_cb01_6c11_b964_d3f792d97f6f["path()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f
  c1cd4b73_8dd6_92da_2031_b96b29633f43["add_custom_ignore_filename()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| c1cd4b73_8dd6_92da_2031_b96b29633f43
  ea4007ac_a311_c454_45f6_4e3ba7192b1a["build()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| ea4007ac_a311_c454_45f6_4e3ba7192b1a
  5f1e446c_b1a6_cd2c_2707_77480f9eaad4["add_child()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| 5f1e446c_b1a6_cd2c_2707_77480f9eaad4
  df4238ce_ff67_ee56_17ce_54ac1d2fa297["matched()"]
  8d776244_7360_01ee_5af9_5e53f8539e11 -->|calls| df4238ce_ff67_ee56_17ce_54ac1d2fa297
  style 8d776244_7360_01ee_5af9_5e53f8539e11 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 1046–1058

    fn custom_ignore_over_ignore() {
        let td = tmpdir();
        let custom_ignore = ".customignore";
        wfile(td.path().join(".ignore"), "foo");
        wfile(td.path().join(custom_ignore), "!foo");

        let (ig, err) = IgnoreBuilder::new()
            .add_custom_ignore_filename(custom_ignore)
            .build()
            .add_child(td.path());
        assert!(err.is_none());
        assert!(ig.matched("foo", false).is_whitelist());
    }

Domain

Subdomains

Frequently Asked Questions

What does custom_ignore_over_ignore() do?
custom_ignore_over_ignore() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is custom_ignore_over_ignore() defined?
custom_ignore_over_ignore() is defined in crates/ignore/src/dir.rs at line 1046.
What does custom_ignore_over_ignore() call?
custom_ignore_over_ignore() calls 7 function(s): add_child, add_custom_ignore_filename, build, matched, path, tmpdir, wfile.

Analyze Your Own Codebase

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

Try Supermodel Free