Skip to main content

Module util

Module util 

Source

Functionsยง

atomic_write
Write content to path atomically using a temp-file + rename pattern. Prevents file corruption if the process is interrupted mid-write.