MCPcopy
hub / github.com/opencontainers/runc / String

Method String

libcontainer/sync.go:66–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func (s syncT) String() string {
67 str := "type:" + string(s.Type)
68 if s.Flags != 0 {
69 str += " flags:0b" + strconv.FormatInt(int64(s.Flags), 2)
70 }
71 if s.Arg != nil {
72 str += " arg:" + string(*s.Arg)
73 }
74 if s.File != nil {
75 str += " file:" + s.File.Name() + " (fd:" + strconv.Itoa(int(s.File.Fd())) + ")"
76 }
77 return str
78}
79
80// initError is used to wrap errors for passing them via JSON,
81// as encoding/json can't unmarshal into error type.

Callers 15

spec.goFile · 0.45
startContainerFunction · 0.45
update.goFile · 0.45
setupSpecFunction · 0.45
revisePidFileFunction · 0.45
execProcessFunction · 0.45
getProcessFunction · 0.45
ps.goFile · 0.45
state.goFile · 0.45
checkpoint.goFile · 0.45
prepareImagePathsFunction · 0.45
criuOptionsFunction · 0.45

Calls

no outgoing calls

Tested by 1

testTransitionsFunction · 0.36