Home / Function/ next() — tailwindcss Function Reference

next() — tailwindcss Function Reference

Architecture documentation for the next() function in dir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  8454df73_38f4_e48b_0b1f_ea4663bebcea["next()"]
  510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"]
  8454df73_38f4_e48b_0b1f_ea4663bebcea -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b
  27ac4d0f_c908_3282_6a22_e7a8f7917e92["resolve_git_commondir()"]
  27ac4d0f_c908_3282_6a22_e7a8f7917e92 -->|calls| 8454df73_38f4_e48b_0b1f_ea4663bebcea
  style 8454df73_38f4_e48b_0b1f_ea4663bebcea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 555–563

    fn next(&mut self) -> Option<&'a Ignore> {
        match self.0.take() {
            None => None,
            Some(ig) => {
                self.0 = ig.0.parent.as_ref();
                Some(ig)
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does next() do?
next() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is next() defined?
next() is defined in crates/ignore/src/dir.rs at line 555.
What calls next()?
next() is called by 1 function(s): resolve_git_commondir.

Analyze Your Own Codebase

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

Try Supermodel Free