Home / Function/ it_should_scan_folders_with_extensions() — tailwindcss Function Reference

it_should_scan_folders_with_extensions() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 566–601

    fn it_should_scan_folders_with_extensions() {
        // These look like files, but they are folders
        let ScanResult {
            candidates,
            normalized_sources,
            ..
        } = scan_with_globs(
            &[
                (
                    "my-folder.templates/foo.html",
                    "content-['my-folder.templates/foo.html']",
                ),
                (
                    "my-folder.bin/foo.html",
                    "content-['my-folder.bin/foo.html']",
                ),
            ],
            vec![
                "@source '**/*'",
                "@source './my-folder.templates'",
                "@source './my-folder.bin'",
            ],
        );

        assert_eq!(
            candidates,
            vec![
                "content-['my-folder.bin/foo.html']",
                "content-['my-folder.templates/foo.html']",
            ]
        );
        assert_eq!(
            normalized_sources,
            vec!["**/*", "my-folder.bin/**/*", "my-folder.templates/**/*"]
        );
    }

Domain

Subdomains

Frequently Asked Questions

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