Home / Function/ exclude_lowest() — tailwindcss Function Reference

exclude_lowest() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6["exclude_lowest()"]
  1d8e185d_2d17_16a2_e6da_31f5e5c71648["tmpdir()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| 1d8e185d_2d17_16a2_e6da_31f5e5c71648
  b531cfc0_8a2c_1d41_6f18_1d84e771a9ef["wfile()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| b531cfc0_8a2c_1d41_6f18_1d84e771a9ef
  a3791d58_6294_cb66_0418_5756e23761fd["path()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| a3791d58_6294_cb66_0418_5756e23761fd
  b23c536f_df64_0c16_7823_c6333e8bd192["mkdirp()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| b23c536f_df64_0c16_7823_c6333e8bd192
  386bbf62_59b6_b5e0_c202_c2ecee5729ec["build()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| 386bbf62_59b6_b5e0_c202_c2ecee5729ec
  7f3cd9fa_fc0e_11d8_c82c_d766c339923a["add_child()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  22918057_f3e8_c59b_6372_a4375af46acd["matched()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| 22918057_f3e8_c59b_6372_a4375af46acd
  style 1973d0a7_029f_1d4e_61c3_cd58107fa9c6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 1092–1104

    fn exclude_lowest() {
        let td = tmpdir();
        wfile(td.path().join(".gitignore"), "!foo");
        wfile(td.path().join(".ignore"), "!bar");
        mkdirp(td.path().join(".git/info"));
        wfile(td.path().join(".git/info/exclude"), "foo\nbar\nbaz");

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

Subdomains

Frequently Asked Questions

What does exclude_lowest() do?
exclude_lowest() is a function in the tailwindcss codebase.
What does exclude_lowest() call?
exclude_lowest() calls 7 function(s): add_child, build, matched, mkdirp, path, tmpdir, wfile.

Analyze Your Own Codebase

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

Try Supermodel Free