Home / Function/ it_should_scan_next_dynamic_folders() — tailwindcss Function Reference

it_should_scan_next_dynamic_folders() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 623–650

    fn it_should_scan_next_dynamic_folders() {
        let ScanResult {
            candidates,
            normalized_sources,
            ..
        } = scan_with_globs(
            &[
                // We know that `.styl` extensions are ignored, so they are not covered by auto content
                // detection.
                ("app/[slug]/page.styl", "content-['[slug]']"),
                ("app/[...slug]/page.styl", "content-['[...slug]']"),
                ("app/[[...slug]]/page.styl", "content-['[[...slug]]']"),
                ("app/(theme)/page.styl", "content-['(theme)']"),
            ],
            vec!["@source '**/*'", "@source './**/*.{styl}'"],
        );

        assert_eq!(
            candidates,
            vec![
                "content-['(theme)']",
                "content-['[...slug]']",
                "content-['[[...slug]]']",
                "content-['[slug]']",
            ],
        );
        assert_eq!(normalized_sources, vec!["**/*", "**/*.styl"]);
    }

Domain

Subdomains

Frequently Asked Questions

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