Home / Function/ add_str() — tailwindcss Function Reference

add_str() — tailwindcss Function Reference

Architecture documentation for the add_str() function in gitignore.rs from the tailwindcss codebase.

Function rust Oxide Scanner calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8["add_str()"]
  61377720_4557_3c63_7653_b6ed73e2face["gitignore.rs"]
  a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8 -->|defined in| 61377720_4557_3c63_7653_b6ed73e2face
  9ee3df54_b0db_1764_9e4e_055320e83c71["gi_from_str()"]
  9ee3df54_b0db_1764_9e4e_055320e83c71 -->|calls| a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8
  31475ef5_8371_db14_d713_bde9c127b678["case_insensitive()"]
  31475ef5_8371_db14_d713_bde9c127b678 -->|calls| a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8
  253ea400_e0d4_304c_157c_a6dad80fd874["add_line()"]
  a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8 -->|calls| 253ea400_e0d4_304c_157c_a6dad80fd874
  style a2ef63dc_fea6_963f_b41b_91e6e8e4d6e8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/gitignore.rs lines 434–443

    fn add_str(
        &mut self,
        from: Option<PathBuf>,
        gitignore: &str,
    ) -> Result<&mut GitignoreBuilder, Error> {
        for line in gitignore.lines() {
            self.add_line(from.clone(), line)?;
        }
        Ok(self)
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does add_str() do?
add_str() is a function in the tailwindcss codebase, defined in crates/ignore/src/gitignore.rs.
Where is add_str() defined?
add_str() is defined in crates/ignore/src/gitignore.rs at line 434.
What does add_str() call?
add_str() calls 1 function(s): add_line.
What calls add_str()?
add_str() is called by 2 function(s): case_insensitive, gi_from_str.

Analyze Your Own Codebase

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

Try Supermodel Free