Files
cdp_hub/internal/platform/files/executable_picker_other.go
T

17 lines
360 B
Go
Raw Normal View History

2026-07-27 22:46:31 +08:00
//go:build !windows
package files
import (
"context"
"errors"
)
type unsupportedExecutablePicker struct{}
func NewExecutablePicker() ExecutablePicker { return unsupportedExecutablePicker{} }
func (unsupportedExecutablePicker) ChooseExecutable(context.Context) (string, error) {
return "", errors.New("executable picker is only supported on Windows")
}