Home / Function/ it_respects_gitignore_in_workspace_root_for_manual_globs() — tailwindcss Function Reference

it_respects_gitignore_in_workspace_root_for_manual_globs() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 1053–1079

    fn it_respects_gitignore_in_workspace_root_for_manual_globs() {
        let ScanResult {
            candidates,
            files,
            globs,
            normalized_sources,
        } = scan_with_globs(
            &[
                (".gitignore", "ignore-1.html\n/web/ignore-2.html"),
                ("web/index.html", "content-['web/index.html']"),
                ("web/ignore-1.html", "content-['web/ignore-1.html']"),
                ("web/ignore-2.html", "content-['web/ignore-2.html']"),
            ],
            vec!["@source './web'", "@source './web/ignore-1.html'"],
        );
        assert_eq!(
            candidates,
            vec![
                "content-['web/ignore-1.html']",
                "content-['web/index.html']",
            ]
        );

        assert_eq!(files, vec!["web/ignore-1.html", "web/index.html",]);
        assert_eq!(globs, vec!["web/*"]);
        assert_eq!(normalized_sources, vec!["web/**/*", "web/ignore-1.html"]);
    }

Domain

Subdomains

Frequently Asked Questions

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