plugins_unix.go 242 B

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