class

Smith::AtomicFile

Inherits Reference < Object

Class methods

write(path : String, content : String, mode : Int32 = 384)

Writes content atomically using a temporary file in the target directory, then renames it into place.

Source