fn name_ok(name: &str, windows: bool) -> boolExpand description
Whether name is one plain name on a side (windows: this computer is
Windows): never a path. A host’s names can hold \, : or ..\ that
would mean other folders here, so whatever a host names is checked before
it becomes a path on this computer.