crap
crap copied to clipboard
Lock before writing to crap.json?
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.