github.com/cloudfoundry-incubator/stembuild@v0.0.0-20211223202937-5b61d62226c6/package_stemcell/ovftool/ovftool_portable.go (about)

     1  //go:build !darwin && !windows
     2  // +build !darwin,!windows
     3  
     4  package ovftool
     5  
     6  import "os/exec"
     7  
     8  func SearchPaths() ([]string, error) {
     9  	return []string{}, nil
    10  }
    11  
    12  // For other OS's, we ignore the parameter, but we need it to
    13  // conform to the signature of the other platform
    14  func Ovftool(_ []string) (string, error) {
    15  	const name = "ovftool"
    16  	return exec.LookPath(name)
    17  }