mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
20028325da
Perform plugin mounts in the runtime
7 lines
285 B
Go
7 lines
285 B
Go
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
|
|
}
|