Home / Function/ errored_both() — tailwindcss Function Reference

errored_both() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  34db7549_7ec2_ec65_96aa_9670256e1810["errored_both()"]
  1d8e185d_2d17_16a2_e6da_31f5e5c71648["tmpdir()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| 1d8e185d_2d17_16a2_e6da_31f5e5c71648
  b531cfc0_8a2c_1d41_6f18_1d84e771a9ef["wfile()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| b531cfc0_8a2c_1d41_6f18_1d84e771a9ef
  a3791d58_6294_cb66_0418_5756e23761fd["path()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| a3791d58_6294_cb66_0418_5756e23761fd
  386bbf62_59b6_b5e0_c202_c2ecee5729ec["build()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| 386bbf62_59b6_b5e0_c202_c2ecee5729ec
  7f3cd9fa_fc0e_11d8_c82c_d766c339923a["add_child()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| 7f3cd9fa_fc0e_11d8_c82c_d766c339923a
  422b9ec8_618c_560d_887f_fae641aa1951["partial()"]
  34db7549_7ec2_ec65_96aa_9670256e1810 -->|calls| 422b9ec8_618c_560d_887f_fae641aa1951
  style 34db7549_7ec2_ec65_96aa_9670256e1810 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/ignore/src/dir.rs lines 1116–1123

    fn errored_both() {
        let td = tmpdir();
        wfile(td.path().join(".gitignore"), "{foo");
        wfile(td.path().join(".ignore"), "{bar");

        let (_, err) = IgnoreBuilder::new().build().add_child(td.path());
        assert_eq!(2, partial(err.expect("an error")).len());
    }

Subdomains

Frequently Asked Questions

What does errored_both() do?
errored_both() is a function in the tailwindcss codebase.
What does errored_both() call?
errored_both() calls 6 function(s): add_child, build, partial, path, tmpdir, wfile.

Analyze Your Own Codebase

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

Try Supermodel Free