os: document that fs.ReadDirFile.ReadDir doesn't restart each time #69301
Labels
Documentation
Issues describing a change to documentation.
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
go version go1.22.6 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
Run this program
What did you see happen?
I could reproduce the issue on my local macOS machine and the playground.
On the playground (https://go.dev/play/p/tBUins57hF-),
What did you expect to see?
os.File
'sReadDir
works as expected.On the other hand, the document for fs.ReadDirFile says
so
ReadDir
should return all the entries whatever the internal offset is, shouldn't it?The text was updated successfully, but these errors were encountered: