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
  0c9f0878_4448_bfd6_204c_dd323f57bfc8["it_should_scan_folders_with_extensions()"]
  6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"]
  0c9f0878_4448_bfd6_204c_dd323f57bfc8 -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19
  15062065_cf6b_d794_5db7_667a2b756e64["scan_with_globs()"]
  0c9f0878_4448_bfd6_204c_dd323f57bfc8 -->|calls| 15062065_cf6b_d794_5db7_667a2b756e64
  style 0c9f0878_4448_bfd6_204c_dd323f57bfc8 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