gi_from_str() — tailwindcss Function Reference
Architecture documentation for the gi_from_str() function in gitignore.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 1d4e411e_b273_4c37_f4b8_c03f8fc51177["gi_from_str()"] 714a3a15_03d5_1e35_b535_53da70bce8eb["gitignore.rs"] 1d4e411e_b273_4c37_f4b8_c03f8fc51177 -->|defined in| 714a3a15_03d5_1e35_b535_53da70bce8eb 91c81473_659f_ad66_3177_ca2e5cf0db1a["regression_106()"] 91c81473_659f_ad66_3177_ca2e5cf0db1a -->|calls| 1d4e411e_b273_4c37_f4b8_c03f8fc51177 09f649ce_e64d_3364_c456_c73521ca4c9c["add_str()"] 1d4e411e_b273_4c37_f4b8_c03f8fc51177 -->|calls| 09f649ce_e64d_3364_c456_c73521ca4c9c 088ec752_002a_6e18_595e_6a8f31aa2bc5["build()"] 1d4e411e_b273_4c37_f4b8_c03f8fc51177 -->|calls| 088ec752_002a_6e18_595e_6a8f31aa2bc5 style 1d4e411e_b273_4c37_f4b8_c03f8fc51177 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/gitignore.rs lines 698–702
fn gi_from_str<P: AsRef<Path>>(root: P, s: &str) -> Gitignore {
let mut builder = GitignoreBuilder::new(root);
builder.add_str(None, s).unwrap();
builder.build().unwrap()
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does gi_from_str() do?
gi_from_str() is a function in the tailwindcss codebase, defined in crates/ignore/src/gitignore.rs.
Where is gi_from_str() defined?
gi_from_str() is defined in crates/ignore/src/gitignore.rs at line 698.
What does gi_from_str() call?
gi_from_str() calls 2 function(s): add_str, build.
What calls gi_from_str()?
gi_from_str() is called by 1 function(s): regression_106.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free