Home / Function/ it_should_branch_expandable_folders() — tailwindcss Function Reference

it_should_branch_expandable_folders() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  df1eba22_2076_957e_1cdb_e2919d9505cf["it_should_branch_expandable_folders()"]
  06f0538c_a174_ca7e_0254_932670828484["glob.rs"]
  df1eba22_2076_957e_1cdb_e2919d9505cf -->|defined in| 06f0538c_a174_ca7e_0254_932670828484
  671ea48f_f03a_71df_9af3_69fa925411c8["create_folders()"]
  df1eba22_2076_957e_1cdb_e2919d9505cf -->|calls| 671ea48f_f03a_71df_9af3_69fa925411c8
  3b14a9e7_5d43_bc68_e82b_f61c14c46ab9["test()"]
  df1eba22_2076_957e_1cdb_e2919d9505cf -->|calls| 3b14a9e7_5d43_bc68_e82b_f61c14c46ab9
  style df1eba22_2076_957e_1cdb_e2919d9505cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/glob.rs lines 352–375

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

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

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

        assert_eq!(actual, expected,);
    }

Domain

Subdomains

Frequently Asked Questions

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