type StatFS … // Stat returns a [FileInfo] describing the named file from the file system. // // If fs implements [StatFS], Stat calls fs.Stat. // Otherwise, Stat opens the [File] to stat it. func Stat(fsys FS, name string) (FileInfo, error) { … }
type StatFS … // Stat returns a [FileInfo] describing the named file from the file system. // // If fs implements [StatFS], Stat calls fs.Stat. // Otherwise, Stat opens the [File] to stat it. func Stat(fsys FS, name string) (FileInfo, error) { … }