no_read_permissions() — tailwindcss Function Reference
Architecture documentation for the no_read_permissions() function in walk.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 71e93def_7a6f_7fac_bfd6_1619a991cc7c["no_read_permissions()"] 711131a2_def6_b05a_eec6_7d8ffa512bd3["read_dir()"] 71e93def_7a6f_7fac_bfd6_1619a991cc7c -->|calls| 711131a2_def6_b05a_eec6_7d8ffa512bd3 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e["assert_paths()"] 71e93def_7a6f_7fac_bfd6_1619a991cc7c -->|calls| 5fe9aa4d_d793_b1a2_d187_4991d92c8d6e 375b58d9_a2fe_75bb_3a9f_2f5574c0532f["is_dir()"] 71e93def_7a6f_7fac_bfd6_1619a991cc7c -->|calls| 375b58d9_a2fe_75bb_3a9f_2f5574c0532f style 71e93def_7a6f_7fac_bfd6_1619a991cc7c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/walk.rs lines 2444–2459
fn no_read_permissions() {
let dir_path = Path::new("/root");
// There's no /etc/sudoers.d, skip the test.
if !dir_path.is_dir() {
return;
}
// We're the root, so the test won't check what we want it to.
if fs::read_dir(&dir_path).is_ok() {
return;
}
// Check that we can't descend but get an entry for the parent dir.
let builder = WalkBuilder::new(&dir_path);
assert_paths(dir_path.parent().unwrap(), &builder, &["root"]);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does no_read_permissions() do?
no_read_permissions() is a function in the tailwindcss codebase.
What does no_read_permissions() call?
no_read_permissions() calls 3 function(s): assert_paths, is_dir, read_dir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free