Module gix_validate::path
source · Expand description
Modules§
Functions§
- Assure the given
input
resembles a valid name for a tree or blob, and in that sense, a path component.mode
indicates the kind ofinput
and it should beSome
ifinput
is the last component in the underlying path. - Return
true
if the path component atinput
looks like a Windows device, likeCON
orLPT1
(case-insensitively).