writeStringAtomically

fun writeStringAtomically(path: Path, content: String)

Replaces path with content without exposing a truncated or partially written file.

Generated with STIG