MCPcopy
hub / github.com/apptainer/apptainer / Fatalf

Function Fatalf

pkg/sylog/sylog.go:98–101  ·  view source on GitHub ↗

Fatalf is equivalent to a call to Errorf followed by os.Exit(255). Code that may be imported by other projects should NOT use Fatalf.

(format string, a ...interface{})

Source from the content-addressed store, hash-verified

96// Fatalf is equivalent to a call to Errorf followed by os.Exit(255). Code that
97// may be imported by other projects should NOT use Fatalf.
98func Fatalf(format string, a ...interface{}) {
99 writef(FatalLevel, format, a...)
100 os.Exit(255)
101}
102
103// Errorf writes an ERROR level message to the log but does not exit. This
104// should be called when an error is being returned to the calling thread

Callers 15

SetBinaryPathFunction · 0.92
getDownloadConfigFunction · 0.92
pullFunction · 0.92
pullFunction · 0.92
DownloadImageFunction · 0.92
mainFunction · 0.92
UnshareRootMappedFunction · 0.92
IsUIDMappedFunction · 0.92
ExecMethod · 0.92
useSuidMethod · 0.92
prepareImageMethod · 0.92
InitConfigMethod · 0.92

Calls 1

writefFunction · 0.85

Tested by

no test coverage detected