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
  ad763435_30f4_9274_9958_80110bcb1795["custom_ignore_exclusive_use()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  ad34ca57_79fe_7ec6_ca38_10ba5937d0e2["tmpdir()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| ad34ca57_79fe_7ec6_ca38_10ba5937d0e2
  2981eeff_1441_f747_1a13_e8238ee63e55["mkdirp()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 2981eeff_1441_f747_1a13_e8238ee63e55
  eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0
  9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4["wfile()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 9c3b3196_f0f0_5b2a_ee9a_f692140fa4a4
  b5eeddf5_ce58_8de8_ef96_1ff0be8f130a["ignore()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| b5eeddf5_ce58_8de8_ef96_1ff0be8f130a
  dc5ba797_3328_76f8_fd38_ec1c62414595["git_ignore()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| dc5ba797_3328_76f8_fd38_ec1c62414595
  7066eb66_cf46_eff2_49c6_ac5cf671ed26["git_global()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 7066eb66_cf46_eff2_49c6_ac5cf671ed26
  1ac89cdf_88c8_a9d6_2580_cbb5b4a19ad8["git_exclude()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 1ac89cdf_88c8_a9d6_2580_cbb5b4a19ad8
  fbecc2f9_c74c_a95e_5a2e_a6b3e5a0990d["add_custom_ignore_filename()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| fbecc2f9_c74c_a95e_5a2e_a6b3e5a0990d
  9df16f40_0af0_7013_ce71_ae30d02a8d20["assert_paths()"]
  ad763435_30f4_9274_9958_80110bcb1795 -->|calls| 9df16f40_0af0_7013_ce71_ae30d02a8d20
  style ad763435_30f4_9274_9958_80110bcb1795 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