fn numbered_name(name: &OsStr, n: u32, is_dir: bool) -> OsStringExpand description
name (n).ext for a file, name (n) for a folder (whose dots aren’t an
extension) or a name with no extension. Works on the raw name, so a
name that isn’t valid Unicode keeps its bytes.