Home / Function/ metadata() — tailwindcss Function Reference

metadata() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c0cd8e66_9230_567d_313a_09a0d836a999["metadata()"]
  dc6bfca3_1f85_98a1_5321_3ce0e2355c46["metadata()"]
  dc6bfca3_1f85_98a1_5321_3ce0e2355c46 -->|calls| c0cd8e66_9230_567d_313a_09a0d836a999
  9e3e4c53_b735_b27b_8c3c_3b94b013ee49["metadata()"]
  9e3e4c53_b735_b27b_8c3c_3b94b013ee49 -->|calls| c0cd8e66_9230_567d_313a_09a0d836a999
  9e3e4c53_b735_b27b_8c3c_3b94b013ee49["metadata()"]
  c0cd8e66_9230_567d_313a_09a0d836a999 -->|calls| 9e3e4c53_b735_b27b_8c3c_3b94b013ee49
  5a41a98a_774e_c950_dcbd_cc7fe1960b89["path()"]
  c0cd8e66_9230_567d_313a_09a0d836a999 -->|calls| 5a41a98a_774e_c950_dcbd_cc7fe1960b89
  style c0cd8e66_9230_567d_313a_09a0d836a999 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(),
        }
    }

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 2 function(s): metadata, metadata.

Analyze Your Own Codebase

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

Try Supermodel Free