{"version":"2.1.277","anchor":"file-identity-stamping-now-distinguishes-directories-and-avo","canonical_anchor":"file-identity-stamping-now-distinguishes-directories-and-avo","heading":"File-identity stamping now distinguishes directories and avoids confusing a file with the null device","tier":"internal","area":"Directory Sync","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277\/e\/file-identity-stamping-now-distinguishes-directories-and-avo","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.277","markdown":"### File-identity stamping now distinguishes directories and avoids confusing a file with the null device\n\nDirectory sync now correctly stamps directories as directories and avoids mistaking files for the null device\n\n**What**\n\nThe helper that stamps files for directory sync now explicitly detects when a path is actually a directory, and records it as `directory` instead of falling through to file-hashing logic meant for regular files. It also guards against a target being indistinguishable from the system's null device, and the warning message shown when stamping fails now mentions this case explicitly.\n\n**Why**\n\nThis avoids directory sync mishandling directories as if they were regular files, and gives a clearer warning when a file genuinely can't be read or identified.\n\n- Area: Directory Sync\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}