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 cd526920_328c_e368_784d_4bd6bf08c16f["is_file_name()"] 5a63fc5c_8a1d_dad2_626b_d01b587f0205["pathutil.rs"] cd526920_328c_e368_784d_4bd6bf08c16f -->|defined in| 5a63fc5c_8a1d_dad2_626b_d01b587f0205 style cd526920_328c_e368_784d_4bd6bf08c16f 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