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
  40dd06fe_e5c6_15ec_4927_3af4acdece17["errored_both()"]
  510a4ebc_9a2a_672a_2d6d_a56dabd1134b["dir.rs"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|defined in| 510a4ebc_9a2a_672a_2d6d_a56dabd1134b
  0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89["tmpdir()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| 0b6611f3_9e1d_0a3b_157b_ef9bb2bc3d89
  fe4c91f2_5b95_b103_1edb_19b3ea6da080["wfile()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| fe4c91f2_5b95_b103_1edb_19b3ea6da080
  195d465d_cb01_6c11_b964_d3f792d97f6f["path()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| 195d465d_cb01_6c11_b964_d3f792d97f6f
  ea4007ac_a311_c454_45f6_4e3ba7192b1a["build()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| ea4007ac_a311_c454_45f6_4e3ba7192b1a
  5f1e446c_b1a6_cd2c_2707_77480f9eaad4["add_child()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| 5f1e446c_b1a6_cd2c_2707_77480f9eaad4
  132570b6_a4d1_bc2c_f367_bd4677b5a565["partial()"]
  40dd06fe_e5c6_15ec_4927_3af4acdece17 -->|calls| 132570b6_a4d1_bc2c_f367_bd4677b5a565
  style 40dd06fe_e5c6_15ec_4927_3af4acdece17 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());
    }

Domain

Subdomains

Frequently Asked Questions

What does errored_both() do?
errored_both() is a function in the tailwindcss codebase, defined in crates/ignore/src/dir.rs.
Where is errored_both() defined?
errored_both() is defined in crates/ignore/src/dir.rs at line 1116.
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