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
  fc32467c_b723_ddfe_8af5_436f343793bc["it_respects_gitignore_in_workspace_root_for_manual_globs()"]
  2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096["scan_with_globs()"]
  fc32467c_b723_ddfe_8af5_436f343793bc -->|calls| 2c5d72c1_5cbe_ebbe_4eca_30cd90f4d096
  style fc32467c_b723_ddfe_8af5_436f343793bc 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.
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