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)?
The underlying OS is Windows 10, version 2004.
What did you do?
I ran os.Stat, passing an existing pipe as an example. Source code for this can be found at https://play.golang.org/p/a1O5axVpLOO In this example, the Pipe is created in the Golang program, but the issue is also reproducible when using a different, existing pipe.
What did you expect to see?
The FileInfo should have ModeNamedPipe set.
What did you see instead?
The FileInfo had no ModeNamedPipe set and was listed as a regular file. Output from the example code: