Home / Function/ it_respects_gitignore_in_workspace_root() — tailwindcss Function Reference

it_respects_gitignore_in_workspace_root() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  66d019eb_1061_aa45_5845_35021a5a383c["it_respects_gitignore_in_workspace_root()"]
  2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096["scan_with_globs()"]
  66d019eb_1061_aa45_5845_35021a5a383c -->|calls| 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096
  style 66d019eb_1061_aa45_5845_35021a5a383c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 1001–1026

    fn it_respects_gitignore_in_workspace_root() {
        let ScanResult {
            candidates,
            files,
            globs,
            normalized_sources,
        } = scan_with_globs(
            &[
                (".gitignore", "ignore-1.html\nweb/ignore-2.html"),
                ("src/index.html", "content-['src/index.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 './src'", "@source './web'"],
        );

        assert_eq!(
            candidates,
            vec!["content-['src/index.html']", "content-['web/index.html']",]
        );

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

Domain

Subdomains

Frequently Asked Questions

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