1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/plugins/plugins_unix.go

11 lines
325 B
Go
Raw Normal View History

//go:build !windows
// +build !windows
package plugins // import "github.com/docker/docker/pkg/plugins"
// ScopedPath returns the path scoped to the plugin's rootfs.
// For v1 plugins, this always returns the path unchanged as v1 plugins run directly on the host.
func (p *Plugin) ScopedPath(s string) string {
return s
}