MCPcopy Create free account
hub / github.com/dropbox/dbxcli / getMetadataAPIErrorIsNotFound

Function getMetadataAPIErrorIsNotFound

cmd/put.go:653–658  ·  view source on GitHub ↗
(err *files.GetMetadataAPIError)

Source from the content-addressed store, hash-verified

651}
652
653func getMetadataAPIErrorIsNotFound(err *files.GetMetadataAPIError) bool {
654 return err != nil &&
655 err.EndpointError != nil &&
656 err.EndpointError.Path != nil &&
657 err.EndpointError.Path.Tag == files.LookupErrorNotFound
658}
659
660func isUploadDestinationFileConflict(err error) bool {
661 var uploadErr files.UploadAPIError

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected