mirror of
https://github.com/moby/moby.git
synced 2026-07-05 22:27:36 +00:00
This allows pkg/authorization to build on OS X. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
10 lines
242 B
Go
10 lines
242 B
Go
// +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 "/"
|
|
}
|