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 8dbae8ca_9fe9_e62a_5cef_2d252b3c9ca2["it_respects_gitignore_in_workspace_root()"] 340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"] 8dbae8ca_9fe9_e62a_5cef_2d252b3c9ca2 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d a53d0655_c789_b0d9_0c48_cfd60da7194b["scan_with_globs()"] 8dbae8ca_9fe9_e62a_5cef_2d252b3c9ca2 -->|calls| a53d0655_c789_b0d9_0c48_cfd60da7194b style 8dbae8ca_9fe9_e62a_5cef_2d252b3c9ca2 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
Defined In
Calls
Source
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