plugins_unix.go 256 B

123456789
  1. // +build !windows
  2. package plugins
  3. // ScopedPath returns the path scoped to the plugin's rootfs.
  4. // For v1 plugins, this always returns the path unchanged as v1 plugins run directly on the host.
  5. func (p *Plugin) ScopedPath(s string) string {
  6. return s
  7. }