You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In old projects you usually hear "because of history", well, blang/vfs nor its clones are an exception. The original project came to light 9+ years ago, but already in 2021 the ReadDir() operation with an uppercase "D" in Dir came to GO v1.16.
The Problem
VFS and all its clones date earlier than that and they all suffer from the Filesystem.ReadDir()interface function to be non-compliant with the current standard. In VFSFilesystem.ReadDir() returns []os.FileInfo whereas the real os.ReadDir() function returns []os.DirEntry instead.
The text was updated successfully, but these errors were encountered:
Background
In old projects you usually hear "because of history", well, blang/vfs nor its clones are an exception. The original project came to light 9+ years ago, but already in 2021 the ReadDir() operation with an uppercase "D" in Dir came to GO v1.16.
The Problem
VFS and all its clones date earlier than that and they all suffer from the
Filesystem.ReadDir()
interface function to be non-compliant with the current standard. In VFSFilesystem.ReadDir()
returns[]os.FileInfo
whereas the realos.ReadDir()
function returns[]os.DirEntry
instead.The text was updated successfully, but these errors were encountered: