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
  7ee33ee9_bae6_9d02_e00d_0940dca5be60["errored_both()"]
  c17be58e_dd6a_a37a_33c2_a24a331f4c38["tmpdir()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| c17be58e_dd6a_a37a_33c2_a24a331f4c38
  88df5ea7_731b_9e65_ef42_3f4f769562ec["wfile()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| 88df5ea7_731b_9e65_ef42_3f4f769562ec
  0a625c2b_b1dd_2da6_7dda_34ff725be14b["path()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| 0a625c2b_b1dd_2da6_7dda_34ff725be14b
  f9057141_74ef_29d7_b851_a214bdc6bfa9["build()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| f9057141_74ef_29d7_b851_a214bdc6bfa9
  7d9549d0_d5cc_b7c3_b367_0249f8430d02["add_child()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| 7d9549d0_d5cc_b7c3_b367_0249f8430d02
  0948dc4f_1fb6_2114_e3c8_f2cdb47874d9["partial()"]
  7ee33ee9_bae6_9d02_e00d_0940dca5be60 -->|calls| 0948dc4f_1fb6_2114_e3c8_f2cdb47874d9
  style 7ee33ee9_bae6_9d02_e00d_0940dca5be60 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.
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