moby/pkg/plugins/discovery_windows.go
Sebastiaan van Stijn a44c25c2f1
pkg/plugins: split exported from implementation
Split the exported SpecsPaths from the platform-specific implementations,
so that documentation can be maintained in a single location.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-07-25 22:38:11 +02:00

11 lines
272 B
Go

package plugins // import "github.com/docker/docker/pkg/plugins"
import (
"os"
"path/filepath"
)
// specsPaths is the Windows implementation of [SpecsPaths].
func specsPaths() []string {
return []string{filepath.Join(os.Getenv("programdata"), "docker", "plugins")}
}