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
  f718b3bb_d899_1bec_31fe_9f77d0b601e7["exclude_lowest()"]
  510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b
  0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89["tmpdir()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89
  fe4c91f2_5b95_b103_1edb_19b3ea6da080["wfile()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| fe4c91f2_5b95_b103_1edb_19b3ea6da080
  195d465d_cb01_6c11_b964_d3f792d97f6f["path()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f
  c80dd0da_2638_ff74_8c3d_7986668a41c5["mkdirp()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| c80dd0da_2638_ff74_8c3d_7986668a41c5
  ea4007ac_a311_c454_45f6_4e3ba7192b1a["build()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| ea4007ac_a311_c454_45f6_4e3ba7192b1a
  5f1e446c_b1a6_cd2c_2707_77480f9eaad4["add_child()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| 5f1e446c_b1a6_cd2c_2707_77480f9eaad4
  df4238ce_ff67_ee56_17ce_54ac1d2fa297["matched()"]
  f718b3bb_d899_1bec_31fe_9f77d0b601e7 -->|calls| df4238ce_ff67_ee56_17ce_54ac1d2fa297
  style f718b3bb_d899_1bec_31fe_9f77d0b601e7 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());
    }

Domain

Subdomains

Frequently Asked Questions

What does exclude_lowest() do?
exclude_lowest() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is exclude_lowest() defined?
exclude_lowest() is defined in crates/ignore/src/dir.rs at line 1092.
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