Glossary

atomic operation

it either completes fully or does not happen at all. By writing to a temporary file (`tasks.tmp`) first and then renaming it to the real file (`tasks.json`), we ensure the original file is never left in a partially written state. If the write fails (disk full, permission denied, program crash), the

Learn More

Related Terms