summaryrefslogtreecommitdiff
path: root/src/devices/file/directory_entry.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-06-30 16:57:16 +1200
committerBen Bridle <bridle.benjamin@gmail.com>2024-06-30 16:57:25 +1200
commitc23f1eda935a514b886b79f85ce0dab3080c33ef (patch)
tree469d30c1ec6a17033c2ca173e2120b77e1b98192 /src/devices/file/directory_entry.rs
parent1380a14177fc07f9d09df937b20487137aab4d4f (diff)
downloadbedrock-pc-c23f1eda935a514b886b79f85ce0dab3080c33ef.zip
Fix crash when loading a directory containing weird entries
It was previously assumed that every entry in a directory would be either a file or a directory, but a non-file and non-directory entry has been encountered in the wild. In this case, just ignore the file, leaving it out of the directory listing.
Diffstat (limited to 'src/devices/file/directory_entry.rs')
0 files changed, 0 insertions, 0 deletions