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
  904850ec_4e68_1fcb_6fea_f31aa189693d["it_respects_gitignore_in_workspace_root()"]
  6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"]
  904850ec_4e68_1fcb_6fea_f31aa189693d -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19
  15062065_cf6b_d794_5db7_667a2b756e64["scan_with_globs()"]
  904850ec_4e68_1fcb_6fea_f31aa189693d -->|calls| 15062065_cf6b_d794_5db7_667a2b756e64
  style 904850ec_4e68_1fcb_6fea_f31aa189693d 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, defined in crates/oxide/tests/scanner.rs.
Where is it_respects_gitignore_in_workspace_root() defined?
it_respects_gitignore_in_workspace_root() is defined in crates/oxide/tests/scanner.rs at line 1001.
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