MCPcopy
hub / github.com/rclone/rclone / Is

Method Is

backend/ulozto/api/types.go:28–32  ·  view source on GitHub ↗

Is determines if the error is an instance of another error. It's required for the errors package to search in causal chain.

(target error)

Source from the content-addressed store, hash-verified

26// Is determines if the error is an instance of another error. It's required for the
27// errors package to search in causal chain.
28func (e *Error) Is(target error) bool {
29 var err *Error
30 ok := errors.As(target, &err)
31 return ok
32}
33
34// ListResponseMetadata groups fields common for all API List calls,
35// and maps to the Metadata API JSON object.

Callers 15

NewFsFunction · 0.80
PutMethod · 0.80
FindLeafMethod · 0.80
readMetaDataForPathMethod · 0.80
TestListWithoutMetadataFunction · 0.80
UpdateMethod · 0.80
TestIntegrationFunction · 0.80
uploadFileMethod · 0.80
TestErrorsUnwrapFunction · 0.80
PurgeMethod · 0.80
DirMoveMethod · 0.80
AboutMethod · 0.80

Calls

no outgoing calls

Tested by 15

TestListWithoutMetadataFunction · 0.64
TestIntegrationFunction · 0.64
TestErrorsUnwrapFunction · 0.64
TestCauseMethodFunction · 0.64
TestErrCountFunction · 0.64
TestBatcherCommitFunction · 0.64
TestBatcherCommitFailFunction · 0.64