init(fileURLWithFileSystemRepresentation:isDirectory:relativeTo:)
Creates a file URL that references the local file or directory for the file system representation of the path.
Declaration
init(fileURLWithFileSystemRepresentation path: UnsafePointer<Int8>, isDirectory: Bool, relativeTo base: URL?)Parameters
- path:
The location in the file system.
- isDirectory:
A Boolean value that indicates whether the location is a directory.
Discussion
File system representation is a null-terminated C string with canonical UTF-8 encoding.