Home / Function/ matched_dir_entry() — tailwindcss Function Reference

matched_dir_entry() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1e613916_a3c9_02ce_da7d_1fe89248a0ae["matched_dir_entry()"]
  510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"]
  1e613916_a3c9_02ce_da7d_1fe89248a0ae -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b
  df4238ce_ff67_ee56_17ce_54ac1d2fa297["matched()"]
  1e613916_a3c9_02ce_da7d_1fe89248a0ae -->|calls| df4238ce_ff67_ee56_17ce_54ac1d2fa297
  195d465d_cb01_6c11_b964_d3f792d97f6f["path()"]
  1e613916_a3c9_02ce_da7d_1fe89248a0ae -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f
  ab14bdf6_0b6c_1ffc_77b8_754120b755c7["hidden()"]
  1e613916_a3c9_02ce_da7d_1fe89248a0ae -->|calls| ab14bdf6_0b6c_1ffc_77b8_754120b755c7
  style 1e613916_a3c9_02ce_da7d_1fe89248a0ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 353–359

    pub(crate) fn matched_dir_entry<'a>(&'a self, dent: &DirEntry) -> Match<IgnoreMatch<'a>> {
        let m = self.matched(dent.path(), dent.is_dir());
        if m.is_none() && self.0.opts.hidden && is_hidden(dent) {
            return Match::Ignore(IgnoreMatch::hidden());
        }
        m
    }

Domain

Subdomains

Frequently Asked Questions

What does matched_dir_entry() do?
matched_dir_entry() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is matched_dir_entry() defined?
matched_dir_entry() is defined in crates/ignore/src/dir.rs at line 353.
What does matched_dir_entry() call?
matched_dir_entry() calls 3 function(s): hidden, matched, path.

Analyze Your Own Codebase

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

Try Supermodel Free