openFile(forWritingAt:options:)
Opens the file at path
for writing and returns a handle to it.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
func openFile(forWritingAt path: FilePath, options: OpenOptions.Write) async throws -> WriteFileHandle
Parameters
Returns
A writable handle to the opened file.