init(_:isDirectory:)
Creates a file URL that references the local file or directory at the file path you specify.
Declaration
init?(_ path: FilePath, isDirectory: Bool)Parameters
- path:
The location in the file system.
- isDirectory:
A Boolean value that indicates whether the location is a directory.