
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>
11 lines
272 B
Go
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")}
|
|
}
|