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
  afe7f26f_bfd5_a391_ebb3_6693b99cf8fa["get_gitignore()"]
  b1c11a47_bcdb_d14b_c883_dc24568a5012["test_path_should_be_under_root()"]
  b1c11a47_bcdb_d14b_c883_dc24568a5012 -->|calls| afe7f26f_bfd5_a391_ebb3_6693b99cf8fa
  4262d0cd_6b70_4c6e_23ba_25257f6038e5["test_files_in_root()"]
  4262d0cd_6b70_4c6e_23ba_25257f6038e5 -->|calls| afe7f26f_bfd5_a391_ebb3_6693b99cf8fa
  f840fbc2_0468_ee59_e87d_34b75e3c11fd["test_files_in_deep()"]
  f840fbc2_0468_ee59_e87d_34b75e3c11fd -->|calls| afe7f26f_bfd5_a391_ebb3_6693b99cf8fa
  fef134a9_ce55_7fd5_f343_eb6d81f9880f["test_dirs_in_root()"]
  fef134a9_ce55_7fd5_f343_eb6d81f9880f -->|calls| afe7f26f_bfd5_a391_ebb3_6693b99cf8fa
  c23057d3_132a_8601_b100_24827d9f4969["test_dirs_in_deep()"]
  c23057d3_132a_8601_b100_24827d9f4969 -->|calls| afe7f26f_bfd5_a391_ebb3_6693b99cf8fa
  style afe7f26f_bfd5_a391_ebb3_6693b99cf8fa 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