Home / Function/ file_type() — tailwindcss Function Reference

file_type() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c30294ef_bb08_283b_8249_9905047aecb1["file_type()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  c30294ef_bb08_283b_8249_9905047aecb1 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  1f3047bd_cab3_dab1_e7b5_f7ef13815e23["is_dir()"]
  1f3047bd_cab3_dab1_e7b5_f7ef13815e23 -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  22ec8950_f405_d7ab_6054_ecd191592786["from_entry()"]
  22ec8950_f405_d7ab_6054_ecd191592786 -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  275ce747_52cf_7193_9f0d_2cf3bab3ea9c["from_path()"]
  275ce747_52cf_7193_9f0d_2cf3bab3ea9c -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  b285c11e_be54_1a5d_97fd_6b377476305a["is_symlink()"]
  b285c11e_be54_1a5d_97fd_6b377476305a -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  dc874db4_e8a3_5292_d49c_2245b8b18f45["generate_work()"]
  dc874db4_e8a3_5292_d49c_2245b8b18f45 -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  71f71c85_8468_749e_893a_4842be5cce15["walkdir_is_dir()"]
  71f71c85_8468_749e_893a_4842be5cce15 -->|calls| c30294ef_bb08_283b_8249_9905047aecb1
  style c30294ef_bb08_283b_8249_9905047aecb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 67–69

    pub fn file_type(&self) -> Option<FileType> {
        self.dent.file_type()
    }

Domain

Subdomains

Frequently Asked Questions

What does file_type() do?
file_type() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is file_type() defined?
file_type() is defined in crates/ignore/src/walk.rs at line 67.
What calls file_type()?
file_type() is called by 6 function(s): from_entry, from_path, generate_work, is_dir, is_symlink, walkdir_is_dir.

Analyze Your Own Codebase

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

Try Supermodel Free