mirror of https://github.com/shirou/gopsutil
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
151 B
Go
13 lines
151 B
Go
3 years ago
|
//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)
|
||
|
}
|