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
  1c14c13c_74a3_190c_e9ef_a0f3fcf22ae9["it_respects_gitignore_in_workspace_root_for_manual_globs()"]
  340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"]
  1c14c13c_74a3_190c_e9ef_a0f3fcf22ae9 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d
  a53d0655_c789_b0d9_0c48_cfd60da7194b["scan_with_globs()"]
  1c14c13c_74a3_190c_e9ef_a0f3fcf22ae9 -->|calls| a53d0655_c789_b0d9_0c48_cfd60da7194b
  style 1c14c13c_74a3_190c_e9ef_a0f3fcf22ae9 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