MCPcopy Create free account
hub / github.com/containerd/nerdctl / CanExecProbably

Function CanExecProbably

pkg/platformutil/binfmt.go:79–90  ·  view source on GitHub ↗
(ss ...string)

Source from the content-addressed store, hash-verified

77}
78
79func CanExecProbably(ss ...string) (bool, error) {
80 for _, s := range ss {
81 ok, err := canExecProbably(s)
82 if err != nil {
83 return false, err
84 }
85 if !ok {
86 return false, nil
87 }
88 }
89 return true, nil
90}

Callers 4

RequireExecPlatformFunction · 0.92
NewClientWithPlatformFunction · 0.92

Calls 1

canExecProbablyFunction · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…