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
  c75c70e7_dc06_a5cc_0142_21cef4f81c82["matched_dir_entry()"]
  22918057_f3e8_c59b_6372_a4375af46acd["matched()"]
  c75c70e7_dc06_a5cc_0142_21cef4f81c82 -->|calls| 22918057_f3e8_c59b_6372_a4375af46acd
  a3791d58_6294_cb66_0418_5756e23761fd["path()"]
  c75c70e7_dc06_a5cc_0142_21cef4f81c82 -->|calls| a3791d58_6294_cb66_0418_5756e23761fd
  1d53f9a6_35c3_1f0c_7bc7_a84cb44eef9c["hidden()"]
  c75c70e7_dc06_a5cc_0142_21cef4f81c82 -->|calls| 1d53f9a6_35c3_1f0c_7bc7_a84cb44eef9c
  style c75c70e7_dc06_a5cc_0142_21cef4f81c82 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
    }

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