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 OxideEngine Scanner calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  3c51f0ff_4cd6_d95d_d673_2bd6bd97e029["from_entry_os()"]
  b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"]
  3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 -->|defined in| b3ca296d_790b_9bf3_23ea_56e5c5c48565
  c9393a41_60b0_2c9f_d0be_286e9c7c6255["from_entry()"]
  c9393a41_60b0_2c9f_d0be_286e9c7c6255 -->|calls| 3c51f0ff_4cd6_d95d_d673_2bd6bd97e029
  e779231b_985a_36eb_def8_55058c03b00a["metadata()"]
  3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 -->|calls| e779231b_985a_36eb_def8_55058c03b00a
  eaa93251_8ff2_5e1b_adef_2cb61588bdb0["path()"]
  3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 -->|calls| eaa93251_8ff2_5e1b_adef_2cb61588bdb0
  93c87ede_ac44_143d_c1d8_e455117fd46d["ino()"]
  3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 -->|calls| 93c87ede_ac44_143d_c1d8_e455117fd46d
  style 3c51f0ff_4cd6_d95d_d673_2bd6bd97e029 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