init(absolutePath:contents:)
Creates a file with the specified path and contents.
init(absolutePath: URL, contents: Data)
Parameters
- absolutePath
An absolute path to the file.
- contents
Data contents of the file, encoded as UTF-8.
Creates a file with the specified path and contents.
init(absolutePath: URL, contents: Data)
An absolute path to the file.
Data contents of the file, encoded as UTF-8.