Case
URL.DirectoryHint.inferFromPath
iOS 16.0+
iPadOS 16.0+
Mac Catalyst 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
A hint that directs a URL call to infer whether a path references a directory based on whether it has a trailing slash.
case inferFromPath