Home / Function/ get_gitignore() — tailwindcss Function Reference

get_gitignore() — tailwindcss Function Reference

Architecture documentation for the get_gitignore() function in gitignore_matched_path_or_any_parents_tests.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  94ff899b_35e3_0285_8c8b_3ddbbd041ae9["get_gitignore()"]
  ee2dcdb8_e8cb_a9d8_c02c_e7600aa4cf78["test_path_should_be_under_root()"]
  ee2dcdb8_e8cb_a9d8_c02c_e7600aa4cf78 -->|calls| 94ff899b_35e3_0285_8c8b_3ddbbd041ae9
  591ea607_ae56_71fe_06ab_287f41bf193d["test_files_in_root()"]
  591ea607_ae56_71fe_06ab_287f41bf193d -->|calls| 94ff899b_35e3_0285_8c8b_3ddbbd041ae9
  01774e64_856f_2413_9dc8_8fb9294e94e4["test_files_in_deep()"]
  01774e64_856f_2413_9dc8_8fb9294e94e4 -->|calls| 94ff899b_35e3_0285_8c8b_3ddbbd041ae9
  99fa6939_73e7_580d_ae09_5c401eb35d2a["test_dirs_in_root()"]
  99fa6939_73e7_580d_ae09_5c401eb35d2a -->|calls| 94ff899b_35e3_0285_8c8b_3ddbbd041ae9
  6f15218f_f57d_2316_5d3b_4504712bcb8c["test_dirs_in_deep()"]
  6f15218f_f57d_2316_5d3b_4504712bcb8c -->|calls| 94ff899b_35e3_0285_8c8b_3ddbbd041ae9
  style 94ff899b_35e3_0285_8c8b_3ddbbd041ae9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs lines 7–12

fn get_gitignore() -> Gitignore {
    let mut builder = GitignoreBuilder::new("ROOT");
    let error = builder.add(IGNORE_FILE);
    assert!(error.is_none(), "failed to open gitignore file");
    builder.build().unwrap()
}

Domain

Subdomains

Frequently Asked Questions

What does get_gitignore() do?
get_gitignore() is a function in the tailwindcss codebase.
What calls get_gitignore()?
get_gitignore() is called by 5 function(s): test_dirs_in_deep, test_dirs_in_root, test_files_in_deep, test_files_in_root, test_path_should_be_under_root.

Analyze Your Own Codebase

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

Try Supermodel Free