is_file_name() — tailwindcss Function Reference
Architecture documentation for the is_file_name() function in pathutil.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 6a491779_066f_60bb_b0fc_e640e7bbf85b["is_file_name()"] 14fdbab7_73ef_0246_2884_5f8133abec90["pathutil.rs"] 6a491779_066f_60bb_b0fc_e640e7bbf85b -->|defined in| 14fdbab7_73ef_0246_2884_5f8133abec90 style 6a491779_066f_60bb_b0fc_e640e7bbf85b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/ignore/src/pathutil.rs lines 92–99
pub(crate) fn is_file_name<P: AsRef<Path>>(path: P) -> bool {
use std::os::unix::ffi::OsStrExt;
use memchr::memchr;
let path = path.as_ref().as_os_str().as_bytes();
memchr(b'/', path).is_none()
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does is_file_name() do?
is_file_name() is a function in the tailwindcss codebase, defined in crates/ignore/src/pathutil.rs.
Where is is_file_name() defined?
is_file_name() is defined in crates/ignore/src/pathutil.rs at line 92.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free