Home / Function/ from_entry_os() — tailwindcss Function Reference

from_entry_os() — tailwindcss Function Reference

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

Function rust Oxide Extractor calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  bd605f97_f731_c85b_0293_e5bf9c6573a7["from_entry_os()"]
  8031325b_dcd2_8c49_70e7_46191ce03a79["walk.rs"]
  bd605f97_f731_c85b_0293_e5bf9c6573a7 -->|defined in| 8031325b_dcd2_8c49_70e7_46191ce03a79
  22ec8950_f405_d7ab_6054_ecd191592786["from_entry()"]
  22ec8950_f405_d7ab_6054_ecd191592786 -->|calls| bd605f97_f731_c85b_0293_e5bf9c6573a7
  866a73c9_ab6c_d6a8_247d_b7de7fc01ac9["metadata()"]
  bd605f97_f731_c85b_0293_e5bf9c6573a7 -->|calls| 866a73c9_ab6c_d6a8_247d_b7de7fc01ac9
  934d114d_964b_414a_2b41_82e8174b7c3d["path()"]
  bd605f97_f731_c85b_0293_e5bf9c6573a7 -->|calls| 934d114d_964b_414a_2b41_82e8174b7c3d
  64fbd903_367e_e081_81fa_bf44b0efee21["ino()"]
  bd605f97_f731_c85b_0293_e5bf9c6573a7 -->|calls| 64fbd903_367e_e081_81fa_bf44b0efee21
  style bd605f97_f731_c85b_0293_e5bf9c6573a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 345–364

    fn from_entry_os(
        depth: usize,
        ent: &fs::DirEntry,
        ty: fs::FileType,
    ) -> Result<DirEntryRaw, Error> {
        let md = ent.metadata().map_err(|err| {
            let err = Error::Io(io::Error::from(err)).with_path(ent.path());
            Error::WithDepth {
                depth,
                err: Box::new(err),
            }
        })?;
        Ok(DirEntryRaw {
            path: ent.path(),
            ty,
            follow_link: false,
            depth,
            metadata: md,
        })
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does from_entry_os() do?
from_entry_os() is a function in the tailwindcss codebase, defined in crates/ignore/src/walk.rs.
Where is from_entry_os() defined?
from_entry_os() is defined in crates/ignore/src/walk.rs at line 345.
What does from_entry_os() call?
from_entry_os() calls 3 function(s): ino, metadata, path.
What calls from_entry_os()?
from_entry_os() is called by 1 function(s): from_entry.

Analyze Your Own Codebase

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

Try Supermodel Free