Home / Function/ add() — tailwindcss Function Reference

add() — tailwindcss Function Reference

Architecture documentation for the add() function in walk.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  6674e625_ef87_8bbf_047f_e3edaf252723["add()"]
  f4964aa2_53a1_cae0_78b3_2ff3218faae7["add_ignore()"]
  f4964aa2_53a1_cae0_78b3_2ff3218faae7 -->|calls| 6674e625_ef87_8bbf_047f_e3edaf252723
  e16c7a27_1865_9055_554b_f50df737dd8e["push()"]
  6674e625_ef87_8bbf_047f_e3edaf252723 -->|calls| e16c7a27_1865_9055_554b_f50df737dd8e
  style 6674e625_ef87_8bbf_047f_e3edaf252723 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 644–647

    pub fn add<P: AsRef<Path>>(&mut self, path: P) -> &mut WalkBuilder {
        self.paths.push(path.as_ref().to_path_buf());
        self
    }

Subdomains

Calls

Called By

Frequently Asked Questions

What does add() do?
add() is a function in the tailwindcss codebase.
What does add() call?
add() calls 1 function(s): push.
What calls add()?
add() is called by 1 function(s): add_ignore.

Analyze Your Own Codebase

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

Try Supermodel Free