Write a UTF-8 string to a file, creating it or overwriting any existing content.
Intermediate directories are not created automatically; use mkdir first if needed.
Parameters
path: string
Path to the file. ~ is expanded.
content: string
String to write.
OptionalinPlace: boolean
Whether to write the file in-place or atomically. Defaults to atomically (false).
Write a UTF-8 string to a file, creating it or overwriting any existing content. Intermediate directories are not created automatically; use
mkdirfirst if needed.