Home / Function/ sort_by_file_path() — tailwindcss Function Reference

sort_by_file_path() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  341c7bf1_aea0_31b0_4941_7c5a792c734c["sort_by_file_path()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  341c7bf1_aea0_31b0_4941_7c5a792c734c -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  54dac099_5508_1e96_226e_8b7c37bc8b9d["Fn()"]
  341c7bf1_aea0_31b0_4941_7c5a792c734c -->|calls| 54dac099_5508_1e96_226e_8b7c37bc8b9d
  style 341c7bf1_aea0_31b0_4941_7c5a792c734c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 896–902

    pub fn sort_by_file_path<F>(&mut self, cmp: F) -> &mut WalkBuilder
    where
        F: Fn(&Path, &Path) -> Ordering + Send + Sync + 'static,
    {
        self.sorter = Some(Sorter::ByPath(Arc::new(cmp)));
        self
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free