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
  eee76249_e82d_3140_a53b_f288ebad4218["custom_ignore_exclusive_use()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  c755c2fc_c832_3451_a38d_48285b12e6d3["tmpdir()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| c755c2fc_c832_3451_a38d_48285b12e6d3
  eb9cff24_ad95_e69f_d2f3_914faaa93121["mkdirp()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| eb9cff24_ad95_e69f_d2f3_914faaa93121
  934d114d_964b_414a_2b41_82e8174b7c3d["path()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d
  dc15f3bc_b785_736f_2fa4_5e6e62bbfee6["wfile()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| dc15f3bc_b785_736f_2fa4_5e6e62bbfee6
  bc2c0cdd_5ca4_48df_8af5_bcbd8e1e7962["ignore()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| bc2c0cdd_5ca4_48df_8af5_bcbd8e1e7962
  0eb502eb_6a17_a2b2_2eda_14ad75cf6b25["git_ignore()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 0eb502eb_6a17_a2b2_2eda_14ad75cf6b25
  22921eed_ff6d_ed63_b429_f5d0965a8c24["git_global()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 22921eed_ff6d_ed63_b429_f5d0965a8c24
  d41a5a78_3125_1e73_af23_7f70fdbfd315["git_exclude()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| d41a5a78_3125_1e73_af23_7f70fdbfd315
  5114ff0e_27c0_e642_2f39_ae2e9d48b450["add_custom_ignore_filename()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 5114ff0e_27c0_e642_2f39_ae2e9d48b450
  3c337f58_9743_cefc_9b9d_984193abd3d2["assert_paths()"]
  eee76249_e82d_3140_a53b_f288ebad4218 -->|calls| 3c337f58_9743_cefc_9b9d_984193abd3d2
  style eee76249_e82d_3140_a53b_f288ebad4218 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, defined in crates/ignore/src/walk.rs.
Where is custom_ignore_exclusive_use() defined?
custom_ignore_exclusive_use() is defined in crates/ignore/src/walk.rs at line 2170.
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