{"version":"2.1.310","anchor":"file-state-check-distinguishes-other-and-unknown","canonical_anchor":"file-state-check-distinguishes-other-and-unknown","heading":"File checks now tell apart non-regular files and unreadable ones","tier":"internal","area":"File Safety","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.310\/e\/file-state-check-distinguishes-other-and-unknown","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.310","markdown":"### File checks now tell apart non-regular files and unreadable ones\n\nWhen checking a file against its saved content, Claude Code now reports \"other\" for non-regular files and \"unknown\" on errors\n\n**What**\n\nClaude Code compares files against content it saved earlier. That check now has two more results:\n\n- \"other\" when the path is not an ordinary file, for example a folder\n\n- \"unknown\" when looking at the file fails unexpectedly, with a log line beginning \"could not look at\"\n\nBefore, these cases were reported as the file being absent or changed.\n\n**Why**\n\nThe check is more accurate, which may change when Claude Code skips an edit or a restore.\n\n- Area: File Safety\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}