github.com/Heebron/moby@v0.0.0-20221111184709-6eab4f55faf7/pkg/plugins/plugins_unix.go (about)

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