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

Method Write

main.go:186–192  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

184}
185
186func (f *FatalWriter) Write(p []byte) (n int, err error) {
187 logrus.Error(string(p))
188 if !logrusToStderr() {
189 return f.cliErrWriter.Write(p)
190 }
191 return len(p), nil
192}
193
194func configLogrus(context *cli.Context) error {
195 if context.GlobalBool("debug") {

Callers 10

notifyHostFunction · 0.80
state.goFile · 0.80
criuSwrkMethod · 0.80
criuNotificationsMethod · 0.80
WritePacketMethod · 0.80
InitMethod · 0.80
testMemoryNotificationFunction · 0.80
logToLogWriterFunction · 0.80
WriteJSONFunction · 0.80
mockSyscallPayloadFunction · 0.80

Calls 2

logrusToStderrFunction · 0.85
ErrorMethod · 0.45

Tested by 3

testMemoryNotificationFunction · 0.64
logToLogWriterFunction · 0.64
mockSyscallPayloadFunction · 0.64