crap icon indicating copy to clipboard operation
crap copied to clipboard

Lock before writing to crap.json?

Open geekish opened this issue 8 years ago • 0 comments

The library used for writing to crap.json uses file_put_contents without the LOCK_EX flag; see webmozart/json#29. I don't foresee issues unless someone purposefully tries to run multiple crap commands simultaneously, or edits the file manually while a command is running.

geekish avatar Feb 10 '17 21:02 geekish