(err error)
| 639 | } |
| 640 | |
| 641 | func isGetMetadataNotFoundError(err error) bool { |
| 642 | var apiErr files.GetMetadataAPIError |
| 643 | if errors.As(err, &apiErr) { |
| 644 | return getMetadataAPIErrorIsNotFound(&apiErr) |
| 645 | } |
| 646 | var apiErrPtr *files.GetMetadataAPIError |
| 647 | if errors.As(err, &apiErrPtr) { |
| 648 | return getMetadataAPIErrorIsNotFound(apiErrPtr) |
| 649 | } |
| 650 | return false |
| 651 | } |
| 652 | |
| 653 | func getMetadataAPIErrorIsNotFound(err *files.GetMetadataAPIError) bool { |
| 654 | return err != nil && |
no test coverage detected