add_str() — tailwindcss Function Reference
Architecture documentation for the add_str() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 09f649ce_e64d_3364_c456_c73521ca4c9c["add_str()"] 714a3a15_03d5_1e35_b535_53da70bce8eb["gitignore.rs"] 09f649ce_e64d_3364_c456_c73521ca4c9c -->|defined in| 714a3a15_03d5_1e35_b535_53da70bce8eb 1d4e411e_b273_4c37_f4b8_c03f8fc51177["gi_from_str()"] 1d4e411e_b273_4c37_f4b8_c03f8fc51177 -->|calls| 09f649ce_e64d_3364_c456_c73521ca4c9c d10b78b9_84ae_8d07_4478_195fdb0ef854["case_insensitive()"] d10b78b9_84ae_8d07_4478_195fdb0ef854 -->|calls| 09f649ce_e64d_3364_c456_c73521ca4c9c e13a7ddc_3ca6_4a8a_8782_4f52ab015f25["add_line()"] 09f649ce_e64d_3364_c456_c73521ca4c9c -->|calls| e13a7ddc_3ca6_4a8a_8782_4f52ab015f25 style 09f649ce_e64d_3364_c456_c73521ca4c9c 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
Defined In
Calls
Called By
Source
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