Files

20 lines
503 B
Go

//go:build !linux && !darwin
package credhelper
import (
"fmt"
"runtime"
)
// getProcessArgs is not supported on this platform.
// The credential helper falls back to the active account.
func getProcessArgs(pid int) ([]string, error) {
return nil, fmt.Errorf("process introspection not supported on %s", runtime.GOOS)
}
// getParentPID is not supported on this platform.
func getParentPID(pid int) (int, error) {
return 0, fmt.Errorf("process introspection not supported on %s", runtime.GOOS)
}