Home / Function/ add_child() — tailwindcss Function Reference

add_child() — tailwindcss Function Reference

Architecture documentation for the add_child() function in dir.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  7f3cd9fa_fc0e_11d8_c82c_d766c339923a["add_child()"]
  f1f554cd_2dca_9460_e576_64c5b09c9268["explicit_ignore()"]
  f1f554cd_2dca_9460_e576_64c5b09c9268 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  81e66cc6_ada0_e6b7_1128_6229de35f490["git_exclude()"]
  81e66cc6_ada0_e6b7_1128_6229de35f490 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  c01c7bf5_556b_f530_3f8a_e6f70be3451e["gitignore()"]
  c01c7bf5_556b_f530_3f8a_e6f70be3451e -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  6743beeb_06b1_7340_4d85_b02bb0ef3614["gitignore_with_jj()"]
  6743beeb_06b1_7340_4d85_b02bb0ef3614 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  88c25882_f68d_1483_23de_7d81e4bd9db5["gitignore_no_git()"]
  88c25882_f68d_1483_23de_7d81e4bd9db5 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  43491051_b333_52ea_3e11_4cf4d7e1c3f6["gitignore_allowed_no_git()"]
  43491051_b333_52ea_3e11_4cf4d7e1c3f6 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  e907515d_40f5_492d_a3eb_eef08a9cb3db["ignore()"]
  e907515d_40f5_492d_a3eb_eef08a9cb3db -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  4f1a1f48_0c56_e213_fafe_bedc115b544e["custom_ignore()"]
  4f1a1f48_0c56_e213_fafe_bedc115b544e -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  9d928b06_6c8a_7d84_6194_bf0101a9dd0d["custom_ignore_over_ignore()"]
  9d928b06_6c8a_7d84_6194_bf0101a9dd0d -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  900c5211_b9d0_6817_aeeb_55546cd3e19a["custom_ignore_precedence()"]
  900c5211_b9d0_6817_aeeb_55546cd3e19a -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  41292f9f_cf96_4d7a_2901_4c472fd9feb4["ignore_over_gitignore()"]
  41292f9f_cf96_4d7a_2901_4c472fd9feb4 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6["exclude_lowest()"]
  1973d0a7_029f_1d4e_61c3_cd58107fa9c6 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  4bee5f75_2d4c_3eba_17dd_be0d37b1107c["errored()"]
  4bee5f75_2d4c_3eba_17dd_be0d37b1107c -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  34db7549_7ec2_ec65_96aa_9670256e1810["errored_both()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  style 7f3cd9fa_fc0e_11d8_c82c_d766c339923a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 243–246

    pub(crate) fn add_child<P: AsRef<Path>>(&self, dir: P) -> (Ignore, Option<Error>) {
        let (ig, err) = self.add_child_path(dir.as_ref());
        (Ignore(Arc::new(ig)), err)
    }

Subdomains

Frequently Asked Questions

What does add_child() do?
add_child() is a function in the tailwindcss codebase.
What does add_child() call?
add_child() calls 1 function(s): add_child_path.
What calls add_child()?
add_child() is called by 21 function(s): absolute_parent, absolute_parent_anchored, custom_ignore, custom_ignore_over_ignore, custom_ignore_precedence, errored, errored_both, errored_partial, and 13 more.

Analyze Your Own Codebase

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

Try Supermodel Free