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
  6745b952_42b5_a64f_19de_a5ebc6bb3989["get_gitignore()"]
  933eebe1_03e6_d6b1_a9f3_12b5bf3d7e94["gitignore_matched_path_or_any_parents_tests.rs"]
  6745b952_42b5_a64f_19de_a5ebc6bb3989 -->|defined in| 933eebe1_03e6_d6b1_a9f3_12b5bf3d7e94
  2de7fa86_0b11_2294_bf14_8821f5eb0f78["test_path_should_be_under_root()"]
  2de7fa86_0b11_2294_bf14_8821f5eb0f78 -->|calls| 6745b952_42b5_a64f_19de_a5ebc6bb3989
  717d3895_4238_8051_2a78_e49076719088["test_files_in_root()"]
  717d3895_4238_8051_2a78_e49076719088 -->|calls| 6745b952_42b5_a64f_19de_a5ebc6bb3989
  c683f234_6dd2_c3a3_c525_ed148b5be19d["test_files_in_deep()"]
  c683f234_6dd2_c3a3_c525_ed148b5be19d -->|calls| 6745b952_42b5_a64f_19de_a5ebc6bb3989
  bb9a76b7_62db_d211_7185_0cb6775cdc97["test_dirs_in_root()"]
  bb9a76b7_62db_d211_7185_0cb6775cdc97 -->|calls| 6745b952_42b5_a64f_19de_a5ebc6bb3989
  2507f209_4d85_5bf5_9884_4d1d8bb31080["test_dirs_in_deep()"]
  2507f209_4d85_5bf5_9884_4d1d8bb31080 -->|calls| 6745b952_42b5_a64f_19de_a5ebc6bb3989
  style 6745b952_42b5_a64f_19de_a5ebc6bb3989 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, defined in crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs.
Where is get_gitignore() defined?
get_gitignore() is defined in crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs at line 7.
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