Home / Function/ it_should_scan_content_paths() — tailwindcss Function Reference

it_should_scan_content_paths() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cb6b72df_d25b_a780_60d1_271c7e10004d["it_should_scan_content_paths()"]
  4e97b231_bdcb_50f8_8ad3_53d02c45a8bb["scan_with_globs()"]
  cb6b72df_d25b_a780_60d1_271c7e10004d -->|calls| 4e97b231_bdcb_50f8_8ad3_53d02c45a8bb
  style cb6b72df_d25b_a780_60d1_271c7e10004d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 604–620

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

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

Domain

Subdomains

Frequently Asked Questions

What does it_should_scan_content_paths() do?
it_should_scan_content_paths() is a function in the tailwindcss codebase.
What does it_should_scan_content_paths() call?
it_should_scan_content_paths() 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