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
  7762aff3_b0a0_d9d9_69cc_7a869659f9cf["matched_dir_entry()"]
  3d475977_d06e_4912_978d_07df5c71fed8["matched()"]
  7762aff3_b0a0_d9d9_69cc_7a869659f9cf -->|calls| 3d475977_d06e_4912_978d_07df5c71fed8
  0a625c2b_b1dd_2da6_7dda_34ff725be14b["path()"]
  7762aff3_b0a0_d9d9_69cc_7a869659f9cf -->|calls| 0a625c2b_b1dd_2da6_7dda_34ff725be14b
  b32376e3_50ee_aff2_3f9a_3172c9c67962["hidden()"]
  7762aff3_b0a0_d9d9_69cc_7a869659f9cf -->|calls| b32376e3_50ee_aff2_3f9a_3172c9c67962
  style 7762aff3_b0a0_d9d9_69cc_7a869659f9cf 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.
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