2 ms·
Yes, use `mktemp', just as you would in Python, Go, Rust, C, or Java.
by metadat 4y ago
Yes, use `mktemp', just as you would in Python, Go, Rust, C, or Java.
- metadat 4y agoActually, to protect against the clobber of the original file, you could use a flocker lock on the process to serialize the operations. Otherwise it will be unsafe.