{"version":"2.1.222","anchor":"atomic-writer-can-publish-without-clobbering","canonical_anchor":"atomic-writer-can-publish-without-clobbering","heading":"Atomic writer can publish without clobbering","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222\/e\/atomic-writer-can-publish-without-clobbering","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222","markdown":"### Atomic writer can publish without clobbering\n\nFile writing gained a mode that refuses to overwrite an existing file instead of replacing it.\n\n**What**\n\nThe temp-file writer gained a create-only mode that publishes via link plus unlink instead of rename.\n\n**Details**\n\n- In this mode an existing destination file is left intact and the write fails rather than overwriting.\n- Rename remains the default publish path.\n\n**Evidence**\n\n`create_only`\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 0\/5"}