Home / Function/ test_explicitly_ignore_explicitly_allowed_files() — tailwindcss Function Reference

test_explicitly_ignore_explicitly_allowed_files() — tailwindcss Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f2b42c49_36d8_30cc_af48_322414c160b9["test_explicitly_ignore_explicitly_allowed_files()"]
  3a07392e_ccde_2e1e_c4dd_a2d547d20807["create_files_in()"]
  f2b42c49_36d8_30cc_af48_322414c160b9 -->|calls| 3a07392e_ccde_2e1e_c4dd_a2d547d20807
  d847ae88_0e93_5005_413e_ff86e08c4291["public_source_entry_from_pattern()"]
  f2b42c49_36d8_30cc_af48_322414c160b9 -->|calls| d847ae88_0e93_5005_413e_ff86e08c4291
  66c99d71_b17e_d5a4_2a47_c675fac3c9cc["scan()"]
  f2b42c49_36d8_30cc_af48_322414c160b9 -->|calls| 66c99d71_b17e_d5a4_2a47_c675fac3c9cc
  style f2b42c49_36d8_30cc_af48_322414c160b9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 1246–1267

    fn test_explicitly_ignore_explicitly_allowed_files() {
        // Create a temporary working directory
        let dir = tempdir().unwrap().into_path();

        // Create files
        create_files_in(
            &dir,
            &[
                ("src/keep-me.html", "content-['keep-me.html']"),
                ("src/ignore-me.html", "content-['ignore-me.html']"),
            ],
        );

        let sources = vec![
            public_source_entry_from_pattern(dir.clone(), "@source '**/*.html'"),
            public_source_entry_from_pattern(dir.clone(), "@source not 'src/ignore-me.html'"),
        ];

        let candidates = Scanner::new(sources.clone()).scan();

        assert_eq!(candidates, vec!["content-['keep-me.html']"]);
    }

Domain

Subdomains

Frequently Asked Questions

What does test_explicitly_ignore_explicitly_allowed_files() do?
test_explicitly_ignore_explicitly_allowed_files() is a function in the tailwindcss codebase.
What does test_explicitly_ignore_explicitly_allowed_files() call?
test_explicitly_ignore_explicitly_allowed_files() calls 3 function(s): create_files_in, public_source_entry_from_pattern, scan.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free