13 lines
153 B
Go
13 lines
153 B
Go
|
//go:build !go1.16
|
||
|
// +build !go1.16
|
||
|
|
||
|
package net
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func readDir(f *os.File, max int) ([]os.FileInfo, error) {
|
||
|
return f.Readdir(max)
|
||
|
}
|