Skip to content

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

Open
vvoland wants to merge 1 commit intodiskfs:masterfrom
vvoland:all-types
Open

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

Conversation

@vvoland
Copy link

@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>
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.

1 participant