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
  a1122870_2d58_e007_abc5_264a624d29f1["matched_dir_entry()"]
  a558c8e1_3e7c_59d2_b113_bacec65ba188["dir.rs"]
  a1122870_2d58_e007_abc5_264a624d29f1 -->|defined in| a558c8e1_3e7c_59d2_b113_bacec65ba188
  610d87f4_d454_8c17_656c_4616db7298c0["matched()"]
  a1122870_2d58_e007_abc5_264a624d29f1 -->|calls| 610d87f4_d454_8c17_656c_4616db7298c0
  1b1bc826_12bc_290a_5930_aa622cf5e9e9["path()"]
  a1122870_2d58_e007_abc5_264a624d29f1 -->|calls| 1b1bc826_12bc_290a_5930_aa622cf5e9e9
  b1325334_5005_d5e5_2bf5_263ac2989b54["hidden()"]
  a1122870_2d58_e007_abc5_264a624d29f1 -->|calls| b1325334_5005_d5e5_2bf5_263ac2989b54
  style a1122870_2d58_e007_abc5_264a624d29f1 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