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