reg/vendor/github.com/docker/docker-ce/components/engine/pkg/plugins/plugins_unix.go

10 lines
242 B
Go
Raw Normal View History

// +build !windows
package plugins
// BasePath returns the path to which all paths returned by the plugin are relative to.
// For v1 plugins, this always returns the host's root directory.
func (p *Plugin) BasePath() string {
return "/"
}