Skip to main content

windows_device

Function windows_device 

Source
pub fn windows_device(base: &str) -> bool
Expand description

Whether base, a name’s part before its first . without trailing spaces, names a Windows device: Windows opens the device for it, with any extension on some versions, and in any ASCII case. ¹, ² and ³ count as digits.