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
  0716887d_47ab_c8a6_11a7_5a00a8168c30["sort_by_file_path()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  0716887d_47ab_c8a6_11a7_5a00a8168c30 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  e3b32409_9652_f069_919f_cebe42eda6be["Fn()"]
  0716887d_47ab_c8a6_11a7_5a00a8168c30 -->|calls| e3b32409_9652_f069_919f_cebe42eda6be
  style 0716887d_47ab_c8a6_11a7_5a00a8168c30 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