Signed-off-by: Daniel Nephin <dnephin@docker.com> Upstream-commit: 4f0d95fa6ee7f865597c03b9e63702cdcb0f7067 Component: engine
10 lines
291 B
Go
10 lines
291 B
Go
// +build !windows
|
|
|
|
package plugins // import "github.com/docker/docker/pkg/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 "/"
|
|
}
|