MCPcopy
hub / github.com/git-lfs/git-lfs / Exit

Function Exit

commands/commands.go:225–228  ·  view source on GitHub ↗

Exit prints a formatted message and exits.

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

Source from the content-addressed store, hash-verified

223
224// Exit prints a formatted message and exits.
225func Exit(format string, args ...interface{}) {
226 Error(format, args...)
227 os.Exit(2)
228}
229
230// ExitWithError either panics with a full stack trace for fatal errors, or
231// simply prints the error message and exits immediately.

Callers 15

lsFilesCommandFunction · 0.85
locksCommandFunction · 0.85
cmdInstallOptionsFunction · 0.85
checkoutCommandFunction · 0.85
checkoutConflictFunction · 0.85
ensureWorkingCopyCleanFunction · 0.85
logsShowCommandFunction · 0.85
newLockClientFunction · 0.85
requireGitVersionFunction · 0.85
mergeDriverCommandFunction · 0.85
mergeProcessInputFunction · 0.85
pruneCommandFunction · 0.85

Calls 1

ErrorFunction · 0.85

Tested by

no test coverage detected