custom_ignore() — tailwindcss Function Reference
Architecture documentation for the custom_ignore() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD ab74f1a1_ac31_35da_49da_afa7b756bea4["custom_ignore()"] be21cd9d_32f8_3eb7_b73d_40d5a95dc7c5["tmpdir()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| be21cd9d_32f8_3eb7_b73d_40d5a95dc7c5 6be2bc5c_2422_2c09_8c7a_3e92060e5ad1["mkdirp()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| 6be2bc5c_2422_2c09_8c7a_3e92060e5ad1 e3491efe_c25e_6614_b6f7_1a3834b9d724["wfile()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| e3491efe_c25e_6614_b6f7_1a3834b9d724 a95102dc_fadb_169b_9b52_c8a549c0d808["add_custom_ignore_filename()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| a95102dc_fadb_169b_9b52_c8a549c0d808 03f45cf3_87f6_e91f_bef8_2f9380aab005["assert_paths()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| 03f45cf3_87f6_e91f_bef8_2f9380aab005 5a41a98a_774e_c950_dcbd_cc7fe1960b89["path()"] ab74f1a1_ac31_35da_49da_afa7b756bea4 -->|calls| 5a41a98a_774e_c950_dcbd_cc7fe1960b89 style ab74f1a1_ac31_35da_49da_afa7b756bea4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2154–2167
fn custom_ignore() {
let td = tmpdir();
let custom_ignore = ".customignore";
mkdirp(td.path().join("a"));
wfile(td.path().join(custom_ignore), "foo");
wfile(td.path().join("foo"), "");
wfile(td.path().join("a/foo"), "");
wfile(td.path().join("bar"), "");
wfile(td.path().join("a/bar"), "");
let mut builder = WalkBuilder::new(td.path());
builder.add_custom_ignore_filename(&custom_ignore);
assert_paths(td.path(), &builder, &["bar", "a", "a/bar"]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does custom_ignore() do?
custom_ignore() is a function in the tailwindcss codebase.
What does custom_ignore() call?
custom_ignore() calls 6 function(s): add_custom_ignore_filename, assert_paths, mkdirp, path, tmpdir, wfile.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free