writeFileString

public func writeFileString(String, String) -> Result[(), IoError]

Writes content to path, creating or truncating as needed. Bytes are the UTF-8 encoding of the string. The mirror of readFileString.

Defined in lang/std/io/file.ks