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
  ce2e9080_5ce5_e3a7_9e58_bd2481c57914["new()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  ce2e9080_5ce5_e3a7_9e58_bd2481c57914 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  7fdc5de6_ca45_c05a_0113_cfaee5250ec1["build()"]
  ce2e9080_5ce5_e3a7_9e58_bd2481c57914 -->|calls| 7fdc5de6_ca45_c05a_0113_cfaee5250ec1
  style ce2e9080_5ce5_e3a7_9e58_bd2481c57914 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