Home / Function/ it_should_work_with_manual_glob_only() — tailwindcss Function Reference

it_should_work_with_manual_glob_only() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d77be684_b03c_1aea_1c4a_1328ac733969["it_should_work_with_manual_glob_only()"]
  340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"]
  d77be684_b03c_1aea_1c4a_1328ac733969 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d
  a53d0655_c789_b0d9_0c48_cfd60da7194b["scan_with_globs()"]
  d77be684_b03c_1aea_1c4a_1328ac733969 -->|calls| a53d0655_c789_b0d9_0c48_cfd60da7194b
  style d77be684_b03c_1aea_1c4a_1328ac733969 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 954–998

    fn it_should_work_with_manual_glob_only() {
        let ScanResult {
            candidates,
            files,
            globs,
            normalized_sources,
        } = scan_with_globs(
            &[
                ("index.html", "content-['index.html']"),
                ("src/index.html", "content-['src/index.html']"),
                ("src/ignore.html", "content-['src/ignore.html']"),
                ("src/admin/index.html", "content-['src/admin/index.html']"),
                ("src/admin/ignore.html", "content-['src/admin/ignore.html']"),
                (
                    "src/dashboard/index.html",
                    "content-['src/dashboard/index.html']",
                ),
                (
                    "src/dashboard/ignore.html",
                    "content-['src/dashboard/ignore.html']",
                ),
                ("src/lib.ts", "content-['src/lib.ts']"),
            ],
            vec![
                "@source './src/**/*.html'",
                "@source not './src/index.html'",
                "@source not './src/**/ignore.html'",
            ],
        );

        assert_eq!(
            candidates,
            vec![
                "content-['src/admin/index.html']",
                "content-['src/dashboard/index.html']",
            ]
        );

        assert_eq!(
            files,
            vec!["src/admin/index.html", "src/dashboard/index.html",]
        );
        assert_eq!(globs, vec!["src/**/*.html"]);
        assert_eq!(normalized_sources, vec!["src/**/*.html"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does it_should_work_with_manual_glob_only() do?
it_should_work_with_manual_glob_only() is a function in the tailwindcss codebase, defined in crates/oxide/tests/scanner.rs.
Where is it_should_work_with_manual_glob_only() defined?
it_should_work_with_manual_glob_only() is defined in crates/oxide/tests/scanner.rs at line 954.
What does it_should_work_with_manual_glob_only() call?
it_should_work_with_manual_glob_only() calls 1 function(s): scan_with_globs.

Analyze Your Own Codebase

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

Try Supermodel Free