MCPcopy
hub / github.com/containerd/containerd / removePanicFile

Function removePanicFile

cmd/containerd/command/service_windows.go:366–374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364}
365
366func removePanicFile() {
367 if st, err := panicFile.Stat(); err == nil {
368 if st.Size() == 0 {
369 windows.SetStdHandle(windows.STD_ERROR_HANDLE, oldStderr)
370 panicFile.Close()
371 os.Remove(panicFile.Name())
372 }
373 }
374}

Callers 1

ExecuteMethod · 0.85

Calls 5

StatMethod · 0.65
SizeMethod · 0.65
CloseMethod · 0.65
RemoveMethod · 0.65
NameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…