Home / Function/ it_should_expand_multiple_expansions_in_the_same_folder() — tailwindcss Function Reference

it_should_expand_multiple_expansions_in_the_same_folder() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

crates/oxide/src/glob.rs lines 378–414

    fn it_should_expand_multiple_expansions_in_the_same_folder() {
        let base = create_folders(&[
            "projects/a-b-d-e-g",
            "projects/a-b-d-f-g",
            "projects/a-c-d-e-g",
            "projects/a-c-d-f-g",
        ]);

        let actual = test(
            &base,
            &[GlobEntry {
                base: "/projects".to_string(),
                pattern: "a-{b,c}-d-{e,f}-g/*.html".to_string(),
            }],
        );

        let expected = vec![
            GlobEntry {
                base: "/projects/a-b-d-e-g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a-b-d-f-g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a-c-d-e-g".to_string(),
                pattern: "*.html".to_string(),
            },
            GlobEntry {
                base: "/projects/a-c-d-f-g".to_string(),
                pattern: "*.html".to_string(),
            },
        ];

        assert_eq!(actual, expected,);
    }

Domain

Subdomains

Frequently Asked Questions

What does it_should_expand_multiple_expansions_in_the_same_folder() do?
it_should_expand_multiple_expansions_in_the_same_folder() is a function in the tailwindcss codebase, defined in crates/oxide/src/glob.rs.
Where is it_should_expand_multiple_expansions_in_the_same_folder() defined?
it_should_expand_multiple_expansions_in_the_same_folder() is defined in crates/oxide/src/glob.rs at line 378.
What does it_should_expand_multiple_expansions_in_the_same_folder() call?
it_should_expand_multiple_expansions_in_the_same_folder() 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