Home / Function/ gi_from_str() — tailwindcss Function Reference

gi_from_str() — tailwindcss Function Reference

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

Function rust RustCore FileScanner calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  06606044_53a6_a123_d53b_0ff3cdba2475["gi_from_str()"]
  4e874619_bafa_0977_096c_026b59ee46ba["regression_106()"]
  4e874619_bafa_0977_096c_026b59ee46ba -->|calls| 06606044_53a6_a123_d53b_0ff3cdba2475
  c315d9a5_ab6e_e200_eab8_ffefbfc19c45["add_str()"]
  06606044_53a6_a123_d53b_0ff3cdba2475 -->|calls| c315d9a5_ab6e_e200_eab8_ffefbfc19c45
  7903e9fa_c4f3_6282_ebe5_eed525a2a2b0["build()"]
  06606044_53a6_a123_d53b_0ff3cdba2475 -->|calls| 7903e9fa_c4f3_6282_ebe5_eed525a2a2b0
  style 06606044_53a6_a123_d53b_0ff3cdba2475 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

Called By

Frequently Asked Questions

What does gi_from_str() do?
gi_from_str() is a function in the tailwindcss codebase.
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