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
  26ea359f_e89d_d09c_44a1_4bd10bb22c91["it_should_use_a_glob_for_top_level_folders()"]
  340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"]
  26ea359f_e89d_d09c_44a1_4bd10bb22c91 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d
  2f3305c3_ad36_6002_daa9_52b16e0424fd["scan()"]
  26ea359f_e89d_d09c_44a1_4bd10bb22c91 -->|calls| 2f3305c3_ad36_6002_daa9_52b16e0424fd
  style 26ea359f_e89d_d09c_44a1_4bd10bb22c91 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, defined in crates/oxide/tests/scanner.rs.
Where is it_should_use_a_glob_for_top_level_folders() defined?
it_should_use_a_glob_for_top_level_folders() is defined in crates/oxide/tests/scanner.rs at line 271.
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