golang/go

os: ReadFile on directories does not return EISDIR in windows

Open

#43,322 opened on Dec 22, 2020

View on GitHub
 (12 comments) (1 reaction) (0 assignees)Go (19,008 forks)batch import
NeedsInvestigationOS-Windowshelp wanted

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

What version of Go are you using (go version)?

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

What did you do?

https://play.golang.org/p/GwvDhx3PqK-

What did you expect to see?

All good

What did you see instead?

Unexpected error: read /: The handle is invalid

Contributor guide