moby/pkg/fileutils/fileutils_windows.go
Brian Goff 677d41aa3b Plumb context through info endpoint
I was trying to find out why `docker info` was sometimes slow so
plumbing a context through to propagate trace data through.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2023-11-10 20:09:25 +00:00

9 lines
242 B
Go

package fileutils // import "github.com/docker/docker/pkg/fileutils"
import "context"
// GetTotalUsedFds Returns the number of used File Descriptors. Not supported
// on Windows.
func GetTotalUsedFds(ctx context.Context) int {
return -1
}