mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
3da1192828
This allows pkg/authorization to build on OS X. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
9 lines
242 B
Go
9 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 "/"
|
|
}
|