Home / Function/ it_should_scan_content_paths_even_when_they_are_git_ignored() — tailwindcss Function Reference

it_should_scan_content_paths_even_when_they_are_git_ignored() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  25706028_d671_508e_fb0f_82c4f06a77a6["it_should_scan_content_paths_even_when_they_are_git_ignored()"]
  6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"]
  25706028_d671_508e_fb0f_82c4f06a77a6 -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19
  15062065_cf6b_d794_5db7_667a2b756e64["scan_with_globs()"]
  25706028_d671_508e_fb0f_82c4f06a77a6 -->|calls| 15062065_cf6b_d794_5db7_667a2b756e64
  style 25706028_d671_508e_fb0f_82c4f06a77a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 692–710

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

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

Domain

Subdomains

Frequently Asked Questions

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