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
  8f599c78_9d07_c6af_753a_52bf67a83b30["file_type()"]
  cc9ec348_9694_a24e_6a35_4ffb4c641398["is_dir()"]
  cc9ec348_9694_a24e_6a35_4ffb4c641398 -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  bce2502e_c46b_d570_52e2_f907d031e231["file_type()"]
  bce2502e_c46b_d570_52e2_f907d031e231 -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  25008f69_d08a_b127_19c0_c487b5ab4ee2["file_type()"]
  25008f69_d08a_b127_19c0_c487b5ab4ee2 -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  13d86d56_4bc4_caba_fdeb_cb4a0f6102fc["from_entry()"]
  13d86d56_4bc4_caba_fdeb_cb4a0f6102fc -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  a102b557_0cc7_5c4e_042f_24149898e7c2["is_symlink()"]
  a102b557_0cc7_5c4e_042f_24149898e7c2 -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  83e9692c_0ef1_97e5_4b56_90182cf80c7a["generate_work()"]
  83e9692c_0ef1_97e5_4b56_90182cf80c7a -->|calls| 8f599c78_9d07_c6af_753a_52bf67a83b30
  25008f69_d08a_b127_19c0_c487b5ab4ee2["file_type()"]
  8f599c78_9d07_c6af_753a_52bf67a83b30 -->|calls| 25008f69_d08a_b127_19c0_c487b5ab4ee2
  style 8f599c78_9d07_c6af_753a_52bf67a83b30 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 197–204

    fn file_type(&self) -> Option<FileType> {
        use self::DirEntryInner::*;
        match *self {
            Stdin => None,
            Walkdir(ref x) => Some(x.file_type()),
            Raw(ref x) => Some(x.file_type()),
        }
    }

Subdomains

Calls

Frequently Asked Questions

What does file_type() do?
file_type() is a function in the tailwindcss codebase.
What does file_type() call?
file_type() calls 1 function(s): file_type.
What calls file_type()?
file_type() is called by 6 function(s): file_type, file_type, from_entry, generate_work, is_dir, is_symlink.

Analyze Your Own Codebase

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

Try Supermodel Free