utils_js.go 364 B

1234567891011121314151617
  1. package csplugin
  2. import "os/exec"
  3. //All functions are empty, just to make the code compile when targeting js/wasm
  4. func (pb *PluginBroker) CreateCmd(binaryPath string) (*exec.Cmd, error) {
  5. return nil, nil
  6. }
  7. func getPluginTypeAndSubtypeFromPath(path string) (string, string, error) {
  8. return "", "", nil
  9. }
  10. func pluginIsValid(path string) error {
  11. return nil
  12. }