Home / Function/ explicit_ignore() — tailwindcss Function Reference

explicit_ignore() — tailwindcss Function Reference

Architecture documentation for the explicit_ignore() function in walk.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  14975754_4855_13c2_2197_a77d8777a158["explicit_ignore()"]
  e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6
  a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb
  65b715d0_a042_86f6_24a2_ee2f89075c41["wfile()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| 65b715d0_a042_86f6_24a2_ee2f89075c41
  88adb3a7_20c9_8b61_adf6_49be4e277a09["add_ignore()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| 88adb3a7_20c9_8b61_adf6_49be4e277a09
  5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  006bb599_d40b_f53b_44c7_57dfd4237729["path()"]
  14975754_4855_13c2_2197_a77d8777a158 -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729
  style 14975754_4855_13c2_2197_a77d8777a158 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 2208–2221

    fn explicit_ignore() {
        let td = tmpdir();
        let igpath = td.path().join(".not-an-ignore");
        mkdirp(td.path().join("a"));
        wfile(&igpath, "foo");
        wfile(td.path().join("foo"), "");
        wfile(td.path().join("a/foo"), "");
        wfile(td.path().join("bar"), "");
        wfile(td.path().join("a/bar"), "");

        let mut builder = WalkBuilder::new(td.path());
        assert!(builder.add_ignore(&igpath).is_none());
        assert_paths(td.path(), &builder, &["bar", "a", "a/bar"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does explicit_ignore() do?
explicit_ignore() is a function in the tailwindcss codebase.
What does explicit_ignore() call?
explicit_ignore() calls 6 function(s): add_ignore, assert_paths, mkdirp, path, tmpdir, wfile.

Analyze Your Own Codebase

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

Try Supermodel Free