Skip to main content

is_device_name

Function is_device_name 

Source
pub fn is_device_name(component: &str) -> bool
Expand description

Whether a path component names a Windows device (CON, NUL.txt, COM1, COM\u{b9}, LPT0, CONIN$, …), which Windows opens instead of a file whatever the extension and case.