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
  1f69106b_6e6c_e227_3c52_709d51049c50["get_gitignore()"]
  769ca6bf_ad87_5317_8f93_e86c99cb744d["gitignore_matched_path_or_any_parents_tests.rs"]
  1f69106b_6e6c_e227_3c52_709d51049c50 -->|defined in| 769ca6bf_ad87_5317_8f93_e86c99cb744d
  ee563407_177a_3cb8_0468_d8d786a059eb["test_path_should_be_under_root()"]
  ee563407_177a_3cb8_0468_d8d786a059eb -->|calls| 1f69106b_6e6c_e227_3c52_709d51049c50
  a5d02d96_3e67_340a_9ce9_5019074440b1["test_files_in_root()"]
  a5d02d96_3e67_340a_9ce9_5019074440b1 -->|calls| 1f69106b_6e6c_e227_3c52_709d51049c50
  3050f3c7_1101_9039_13fd_8f5c4392bbf7["test_files_in_deep()"]
  3050f3c7_1101_9039_13fd_8f5c4392bbf7 -->|calls| 1f69106b_6e6c_e227_3c52_709d51049c50
  7f213c87_d9e0_9e99_050b_bff10717d468["test_dirs_in_root()"]
  7f213c87_d9e0_9e99_050b_bff10717d468 -->|calls| 1f69106b_6e6c_e227_3c52_709d51049c50
  2ebe3913_4753_14f0_9e36_1dc17224b3c1["test_dirs_in_deep()"]
  2ebe3913_4753_14f0_9e36_1dc17224b3c1 -->|calls| 1f69106b_6e6c_e227_3c52_709d51049c50
  style 1f69106b_6e6c_e227_3c52_709d51049c50 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