MCPcopy
hub / github.com/syncthing/syncthing / Is

Method Is

lib/svcutil/svcutil.go:54–56  ·  view source on GitHub ↗
(target error)

Source from the content-addressed store, hash-verified

52}
53
54func (*FatalErr) Is(target error) bool {
55 return target == suture.ErrTerminateSupervisorTree
56}
57
58// NoRestartErr wraps the given error err (which may be nil) to make sure that
59// `errors.Is(err, suture.ErrDoNotRestart) == true`.

Callers 15

AcceptMethod · 0.45
IsVersionMismatchFunction · 0.45
readerLoopMethod · 0.45
errorToCodeFunction · 0.45
handleInvitationsMethod · 0.45
resolveDialTargetsMethod · 0.45
CommitConfigurationMethod · 0.45
setConnectionStatusMethod · 0.45
serveMethod · 0.45
asNonContextErrorFunction · 0.45
removeFolderMethod · 0.45
CompletionMethod · 0.45

Calls

no outgoing calls

Tested by 6

TestCopyOwnerFunction · 0.36
TestVersionRestoreFunction · 0.36
TestCopyRangeFunction · 0.36
TestXattrFunction · 0.36