sink
Deprecated (with error)
Use FileSystem.sink instead
Replace with
import kotlinx.io.files.FileSystem
Content copied to clipboard
SystemFileSystem.sink(this).buffered()
Content copied to clipboard
Returns RawSink for the given path, creates file if it doesn't exist, throws if it's a directory, overwrites contents.
Use of this method is deprecated with warning since kotlinx-io 0.3.0, with error since 0.8.0, and it will be removed in the future.