Home / Function/ it_should_keep_the_negation_symbol_for_all_new_patterns() — tailwindcss Function Reference

it_should_keep_the_negation_symbol_for_all_new_patterns() — tailwindcss Function Reference

Architecture documentation for the it_should_keep_the_negation_symbol_for_all_new_patterns() function in glob.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  9259113f_5ca3_7abe_937e_e0bbde50c264["it_should_keep_the_negation_symbol_for_all_new_patterns()"]
  d6210432_49e5_7bfc_e9c4_6cebc740bb16["glob.rs"]
  9259113f_5ca3_7abe_937e_e0bbde50c264 -->|defined in| d6210432_49e5_7bfc_e9c4_6cebc740bb16
  1120e755_7352_a393_37fa_f89d503fa82e["create_folders()"]
  9259113f_5ca3_7abe_937e_e0bbde50c264 -->|calls| 1120e755_7352_a393_37fa_f89d503fa82e
  fc119bfa_39ba_8a9d_993d_92d6a3386600["test()"]
  9259113f_5ca3_7abe_937e_e0bbde50c264 -->|calls| fc119bfa_39ba_8a9d_993d_92d6a3386600
  style 9259113f_5ca3_7abe_937e_e0bbde50c264 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/glob.rs lines 542–561

    fn it_should_keep_the_negation_symbol_for_all_new_patterns() {
        let base = create_folders(&["projects"]);

        let actual = test(
            &base,
            &[GlobEntry {
                base: "/projects".to_string(),
                pattern: "!{foo,bar}/*.html".to_string(),
            }],
        );

        let expected = vec![GlobEntry {
            base: "/projects".to_string(),
            // TODO: This is wrong, because `!` should be in front. But right now we don't support
            // `@source "!../foo/bar";` anyway.
            pattern: "{!bar/*.html,!foo/*.html}".to_string(),
        }];

        assert_eq!(actual, expected,);
    }

Domain

Subdomains

Frequently Asked Questions

What does it_should_keep_the_negation_symbol_for_all_new_patterns() do?
it_should_keep_the_negation_symbol_for_all_new_patterns() is a function in the tailwindcss codebase, defined in crates/oxide/src/glob.rs.
Where is it_should_keep_the_negation_symbol_for_all_new_patterns() defined?
it_should_keep_the_negation_symbol_for_all_new_patterns() is defined in crates/oxide/src/glob.rs at line 542.
What does it_should_keep_the_negation_symbol_for_all_new_patterns() call?
it_should_keep_the_negation_symbol_for_all_new_patterns() calls 2 function(s): create_folders, test.

Analyze Your Own Codebase

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

Try Supermodel Free