Home / Function/ it_should_use_a_glob_for_top_level_folders() — tailwindcss Function Reference

it_should_use_a_glob_for_top_level_folders() — tailwindcss Function Reference

Architecture documentation for the it_should_use_a_glob_for_top_level_folders() function in scanner.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  af1ba05f_1b5a_76f3_fe9a_243e1993505e["it_should_use_a_glob_for_top_level_folders()"]
  1581ed51_04e1_62c1_6e26_ea43cf82d5f9["scan()"]
  af1ba05f_1b5a_76f3_fe9a_243e1993505e -->|calls| 1581ed51_04e1_62c1_6e26_ea43cf82d5f9
  style af1ba05f_1b5a_76f3_fe9a_243e1993505e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 271–293

    fn it_should_use_a_glob_for_top_level_folders() {
        let ScanResult {
            files,
            globs,
            normalized_sources,
            ..
        } = scan(&[
            ("index.html", ""),
            ("src/a.html", ""),
            ("src/b.html", ""),
            ("src/c.html", ""),
        ]);

        assert_eq!(
            files,
            vec!["index.html", "src/a.html", "src/b.html", "src/c.html"]
        );
        assert_eq!(globs, vec![
            "*",
            "src/**/*.{aspx,astro,cjs,cts,eex,erb,gjs,gts,haml,handlebars,hbs,heex,html,jade,js,jsx,liquid,md,mdx,mjs,mts,mustache,njk,nunjucks,php,pug,py,razor,rb,rhtml,rs,slim,svelte,tpl,ts,tsx,twig,vue}",
        ]);
        assert_eq!(normalized_sources, vec!["**/*"]);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does it_should_use_a_glob_for_top_level_folders() do?
it_should_use_a_glob_for_top_level_folders() is a function in the tailwindcss codebase.
What does it_should_use_a_glob_for_top_level_folders() call?
it_should_use_a_glob_for_top_level_folders() calls 1 function(s): scan.

Analyze Your Own Codebase

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

Try Supermodel Free