EnumerationFoundationEssentials
URL.DirectoryHint
iOS 16.0+
iPadOS 16.0+
Mac Catalyst 16.0+
macOS 13.0+
tvOS 16.0+
watchOS 9.0+
A hint to URL file APIs for handling paths that may reference directories.
enum DirectoryHint
Topics
Enumeration Cases
case checkFileSystemA hint that directs a URL call to consult the file system to determine whether the path references a directory.case inferFromPathA hint that directs a URL call to infer whether a path references a directory based on whether it has a trailing slash.case isDirectoryA hint that specifies that a given path is a directory.case notDirectoryA hint that specifies that a given path isn’t a directory.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype