Home / Function/ matched() — tailwindcss Function Reference

matched() — tailwindcss Function Reference

Architecture documentation for the matched() function in gitignore.rs from the tailwindcss codebase.

Function rust OxideEngine PreProcessors calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  e05fbd53_7afb_a6ac_3375_fa1dbe58210a["matched()"]
  f01cb367_8778_ff95_3046_740ba8005174["gitignore.rs"]
  e05fbd53_7afb_a6ac_3375_fa1dbe58210a -->|defined in| f01cb367_8778_ff95_3046_740ba8005174
  310b9b0f_8a2c_e3e1_2bf5_5e04929d0331["case_insensitive()"]
  310b9b0f_8a2c_e3e1_2bf5_5e04929d0331 -->|calls| e05fbd53_7afb_a6ac_3375_fa1dbe58210a
  1478f24f_0042_422a_feb9_b27474fb60bd["is_empty()"]
  e05fbd53_7afb_a6ac_3375_fa1dbe58210a -->|calls| 1478f24f_0042_422a_feb9_b27474fb60bd
  51770fdd_9911_bd18_af22_8e96873ca961["matched_stripped()"]
  e05fbd53_7afb_a6ac_3375_fa1dbe58210a -->|calls| 51770fdd_9911_bd18_af22_8e96873ca961
  603ef6cf_36e3_3f10_3ff6_aeb4c67c887e["strip()"]
  e05fbd53_7afb_a6ac_3375_fa1dbe58210a -->|calls| 603ef6cf_36e3_3f10_3ff6_aeb4c67c887e
  style e05fbd53_7afb_a6ac_3375_fa1dbe58210a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/gitignore.rs lines 193–198

    pub fn matched<P: AsRef<Path>>(&self, path: P, is_dir: bool) -> Match<&Glob> {
        if self.is_empty() {
            return Match::None;
        }
        self.matched_stripped(self.strip(path.as_ref()), is_dir)
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does matched() do?
matched() is a function in the tailwindcss codebase, defined in crates/ignore/src/gitignore.rs.
Where is matched() defined?
matched() is defined in crates/ignore/src/gitignore.rs at line 193.
What does matched() call?
matched() calls 3 function(s): is_empty, matched_stripped, strip.
What calls matched()?
matched() is called by 1 function(s): case_insensitive.

Analyze Your Own Codebase

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

Try Supermodel Free