Home / Function/ metadata() — tailwindcss Function Reference

metadata() — tailwindcss Function Reference

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

Function rust RustCore MachineExtractor calls 2 called by 3

Entity Profile

Dependency Diagram

graph TD
  8f7185d0_41f0_486a_b2f2_b0a7e93e21b9["metadata()"]
  d87313f3_8b5b_0a2c_87f2_71b90771dc0c["metadata()"]
  d87313f3_8b5b_0a2c_87f2_71b90771dc0c -->|calls| 8f7185d0_41f0_486a_b2f2_b0a7e93e21b9
  0eedd52b_7728_cb9f_c855_4f37d26143cf["metadata()"]
  0eedd52b_7728_cb9f_c855_4f37d26143cf -->|calls| 8f7185d0_41f0_486a_b2f2_b0a7e93e21b9
  365169b4_4aeb_e5a8_2cbf_612384e629cc["skip_entry()"]
  365169b4_4aeb_e5a8_2cbf_612384e629cc -->|calls| 8f7185d0_41f0_486a_b2f2_b0a7e93e21b9
  0eedd52b_7728_cb9f_c855_4f37d26143cf["metadata()"]
  8f7185d0_41f0_486a_b2f2_b0a7e93e21b9 -->|calls| 0eedd52b_7728_cb9f_c855_4f37d26143cf
  55dd83a4_0144_9917_edad_d9a20af65a76["path()"]
  8f7185d0_41f0_486a_b2f2_b0a7e93e21b9 -->|calls| 55dd83a4_0144_9917_edad_d9a20af65a76
  style 8f7185d0_41f0_486a_b2f2_b0a7e93e21b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/walk.rs lines 180–195

    fn metadata(&self) -> Result<Metadata, Error> {
        use self::DirEntryInner::*;
        match *self {
            Stdin => {
                let err = Error::Io(io::Error::new(
                    io::ErrorKind::Other,
                    "<stdin> has no metadata",
                ));
                Err(err.with_path("<stdin>"))
            }
            Walkdir(ref x) => x
                .metadata()
                .map_err(|err| Error::Io(io::Error::from(err)).with_path(x.path())),
            Raw(ref x) => x.metadata(),
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does metadata() do?
metadata() is a function in the tailwindcss codebase.
What does metadata() call?
metadata() calls 2 function(s): metadata, path.
What calls metadata()?
metadata() is called by 3 function(s): metadata, metadata, skip_entry.

Analyze Your Own Codebase

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

Try Supermodel Free