Home / Function/ new() — tailwindcss Function Reference

new() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2fac315b_03e7_57c2_6ff7_9d2992a1a71a["new()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  2fac315b_03e7_57c2_6ff7_9d2992a1a71a -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  de47c3c4_7919_326b_65e2_dcc7c2bd96c6["build()"]
  2fac315b_03e7_57c2_6ff7_9d2992a1a71a -->|calls| de47c3c4_7919_326b_65e2_dcc7c2bd96c6
  style 2fac315b_03e7_57c2_6ff7_9d2992a1a71a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 546–561

    pub fn new<P: AsRef<Path>>(path: P) -> WalkBuilder {
        WalkBuilder {
            paths: vec![path.as_ref().to_path_buf()],
            ig_builder: IgnoreBuilder::new(),
            max_depth: None,
            min_depth: None,
            max_filesize: None,
            follow_links: false,
            same_file_system: false,
            sorter: None,
            threads: 0,
            skip: None,
            filter: None,
            global_gitignores_relative_to: OnceLock::new(),
        }
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does new() do?
new() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is new() defined?
new() is defined in crates/ignore/src/walk.rs at line 546.
What does new() call?
new() calls 1 function(s): build.

Analyze Your Own Codebase

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

Try Supermodel Free