Report no device number for a zeroed stat (closes #462) #473

Open
clawbot wants to merge 1 commits from issue-462-memfs-device-number into next
pull from: issue-462-memfs-device-number
1 Commits
Author SHA1 Message Date
sneak 8d586ed4f9 Report no device number for a zeroed stat (closes #462)
check / check (push) Waiting to run
deviceNumberFromStat returned device 0 and true for a stat whose device
and inode numbers are both zero. afero's unreleased master gives such a
stat for every in-memory file; the pinned v1.15.0 gives none. It now
returns false for it, as its comment says, and a test covers both
in-memory shapes.

Model: opus-5-5
2026-11-19 07:31:05 +00:00