Home / Function/ it_should_stop_expanding_once_we_hit_a_wildcard() — tailwindcss Function Reference

it_should_stop_expanding_once_we_hit_a_wildcard() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  650f57b2_ba40_0637_2b17_cd47af9210b0["it_should_stop_expanding_once_we_hit_a_wildcard()"]
  d5e8219a_41bf_5cdb_2ab9_fa6f6a6dbb23["create_folders()"]
  650f57b2_ba40_0637_2b17_cd47af9210b0 -->|calls| d5e8219a_41bf_5cdb_2ab9_fa6f6a6dbb23
  259c9079_e6e4_38be_be7c_c860a61e0b2f["test()"]
  650f57b2_ba40_0637_2b17_cd47af9210b0 -->|calls| 259c9079_e6e4_38be_be7c_c860a61e0b2f
  style 650f57b2_ba40_0637_2b17_cd47af9210b0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/glob.rs lines 516–539

    fn it_should_stop_expanding_once_we_hit_a_wildcard() {
        let base = create_folders(&["projects/bar/example", "projects/foo/example"]);

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

        let expected = vec![
            GlobEntry {
                base: "/projects/bar/example".to_string(),
                pattern: "{**/baz/*.html,**/qux/*.html}".to_string(),
            },
            GlobEntry {
                base: "/projects/foo/example".to_string(),
                pattern: "{**/baz/*.html,**/qux/*.html}".to_string(),
            },
        ];

        assert_eq!(actual, expected,);
    }

Domain

Subdomains

Frequently Asked Questions

What does it_should_stop_expanding_once_we_hit_a_wildcard() do?
it_should_stop_expanding_once_we_hit_a_wildcard() is a function in the tailwindcss codebase.
What does it_should_stop_expanding_once_we_hit_a_wildcard() call?
it_should_stop_expanding_once_we_hit_a_wildcard() 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