Home / Function/ it_should_be_possible_to_scan_in_the_parent_directory() — tailwindcss Function Reference

it_should_be_possible_to_scan_in_the_parent_directory() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 535–547

    fn it_should_be_possible_to_scan_in_the_parent_directory() {
        let ScanResult {
            candidates,
            normalized_sources,
            ..
        } = scan_with_globs(
            &[("foo/bar/baz/foo.html", "content-['foo.html']")],
            vec!["@source '**/*'", "@source './foo/bar/baz/..'"],
        );

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

Domain

Subdomains

Frequently Asked Questions

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