gix_validate

Module 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 of input and it should be Some if input is the last component in the underlying path.
  • Return true if the path component at input looks like a Windows device, like CON or LPT1 (case-insensitively).