Skip to content

ext4: Report all file types in directoryEntryInfo.Type() and Info()#350

Merged
deitch merged 1 commit intodiskfs:masterfrom
vvoland:all-types
Mar 26, 2026
Merged

ext4: Report all file types in directoryEntryInfo.Type() and Info()#350
deitch merged 1 commit intodiskfs:masterfrom
vvoland:all-types

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Mar 24, 2026

Type() only reported directories and symlinks, returning zero FileMode for all other types.

This caused callers using WalkDir being mislead into treating special files like regular files.

Type() only reported directories and symlinks, returning zero FileMode
for all other types.

This caused callers using WalkDir being mislead into treating special
files like regular files.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Copy link
Copy Markdown
Collaborator

@deitch deitch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@deitch deitch merged commit 80ac6f8 into diskfs:master Mar 26, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants