Home / Function/ custom_ignore_exclusive_use() — tailwindcss Function Reference

custom_ignore_exclusive_use() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  8827e24e_83af_47b3_4098_831c48ecd44c["custom_ignore_exclusive_use()"]
  e8c725dd_a885_9529_0af1_4e4171753fc6["tmpdir()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| e8c725dd_a885_9529_0af1_4e4171753fc6
  a870695d_932a_bfd4_fe92_a94ee09973bb["mkdirp()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| a870695d_932a_bfd4_fe92_a94ee09973bb
  65b715d0_a042_86f6_24a2_ee2f89075c41["wfile()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 65b715d0_a042_86f6_24a2_ee2f89075c41
  983074a8_b0ad_5b6c_edd0_0bd563d9f486["ignore()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 983074a8_b0ad_5b6c_edd0_0bd563d9f486
  06fa165f_e8d9_28d1_aaf6_bd47c052544f["git_ignore()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 06fa165f_e8d9_28d1_aaf6_bd47c052544f
  5f3e4ba4_19b6_22a7_2ca1_4ff23b338718["git_global()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 5f3e4ba4_19b6_22a7_2ca1_4ff23b338718
  6c4e6be8_4633_a7ae_24d3_e05e095a4b13["git_exclude()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 6c4e6be8_4633_a7ae_24d3_e05e095a4b13
  b383bac3_4e53_18df_7212_4ea69ca72f56["add_custom_ignore_filename()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| b383bac3_4e53_18df_7212_4ea69ca72f56
  5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e
  006bb599_d40b_f53b_44c7_57dfd4237729["path()"]
  8827e24e_83af_47b3_4098_831c48ecd44c -->|calls| 006bb599_d40b_f53b_44c7_57dfd4237729
  style 8827e24e_83af_47b3_4098_831c48ecd44c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 2170–2187

    fn custom_ignore_exclusive_use() {
        let td = tmpdir();
        let custom_ignore = ".customignore";
        mkdirp(td.path().join("a"));
        wfile(td.path().join(custom_ignore), "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());
        builder.ignore(false);
        builder.git_ignore(false);
        builder.git_global(false);
        builder.git_exclude(false);
        builder.add_custom_ignore_filename(&custom_ignore);
        assert_paths(td.path(), &builder, &["bar", "a", "a/bar"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does custom_ignore_exclusive_use() do?
custom_ignore_exclusive_use() is a function in the tailwindcss codebase.
What does custom_ignore_exclusive_use() call?
custom_ignore_exclusive_use() calls 10 function(s): add_custom_ignore_filename, assert_paths, git_exclude, git_global, git_ignore, ignore, mkdirp, path, and 2 more.

Analyze Your Own Codebase

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

Try Supermodel Free