io/fs: document ownership of slice from ReadDirFile.ReadDir #63919
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
The
ReadDirFile.ReadDir
method returns a[]DirEntry
, but ownership of the slice is unspecified:ReadDir
call?DirEntry
be expected to not change?The text was updated successfully, but these errors were encountered: