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.

Function rust RustCore PreProcessors calls 1 called by 4

Entity Profile

Dependency Diagram

graph TD
  29b1fc36_4cad_f0a0_a75c_9d0516d59243["file_type()"]
  375b58d9_a2fe_75bb_3a9f_2f5574c0532f["is_dir()"]
  375b58d9_a2fe_75bb_3a9f_2f5574c0532f -->|calls| 29b1fc36_4cad_f0a0_a75c_9d0516d59243
  08a3def3_c46f_5695_a279_1932fa144713["file_type()"]
  08a3def3_c46f_5695_a279_1932fa144713 -->|calls| 29b1fc36_4cad_f0a0_a75c_9d0516d59243
  6635a1ff_d67d_40df_1cc3_51c7debc3b01["is_symlink()"]
  6635a1ff_d67d_40df_1cc3_51c7debc3b01 -->|calls| 29b1fc36_4cad_f0a0_a75c_9d0516d59243
  63344b28_9b99_e315_b3dc_2e05147fb824["walkdir_is_dir()"]
  63344b28_9b99_e315_b3dc_2e05147fb824 -->|calls| 29b1fc36_4cad_f0a0_a75c_9d0516d59243
  b69fb625_f52d_d091_f830_86890ee43598["file_type()"]
  29b1fc36_4cad_f0a0_a75c_9d0516d59243 -->|calls| b69fb625_f52d_d091_f830_86890ee43598
  style 29b1fc36_4cad_f0a0_a75c_9d0516d59243 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()),
        }
    }

Domain

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 4 function(s): file_type, 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