func (gdrive *gdriveStorage) tryGetFileByBlobID(ctx context.Context, blobID blob.ID, fields googleapi.Field) (*drive.File, error) {
	f, err := retry.Periodically(ctx, queryRetryDelay, queryRetryMax, fmt.Sprintf("getFileIDByblobID(%v)", blobID), func() (interface{}, error) {
		return gdrive.getFileByBlobID(ctx, blobID, fields)
	}, retryNotFound)
	if err != nil {
		return nil, err // nolint:wrapcheck
	}

	return f.(*drive.File), nil // nolint:forcetypeassert
}
// Try getFileByBlobID with periodic backoff.
Try getFileByBlobID with periodic backoff.
// Try getFileByBlobID with periodic backoff .
func (gdrive *gdriveStorage) tryGetFileByBlobID(ctx context.Context, blobID blob.ID, fields googleapi.Field) (*drive.File, error) {
	f, err := retry.Periodically(ctx, queryRetryDelay, queryRetryMax, fmt.Sprintf("getFileIDByblobID(%v)", blobID), func() (interface{}, error) {
		return gdrive.getFileByBlobID(ctx, blobID, fields)
	}, retryNotFound)
	if err != nil {
		return nil, err 
	}
	return f.(*drive.File), nil 
}
func ( gdrive * gdriveStorage ) tryGetFileByBlobID ( ctx context . Context , blobID blob . ID , fields googleapi . Field ) ( * drive . File , error ) { f , err := retry . Periodically ( ctx , queryRetryDelay , queryRetryMax , fmt . Sprintf ( " " , blobID ) , func ( ) ( interface { } , error ) { return gdrive . getFileByBlobID ( ctx , blobID , fields ) } , retryNotFound ) if err != nil { return nil , err } return f . ( * drive . File ) , nil }
Try getFileByBlobID with periodic backoff.
Try getFileByBlobID with periodic backoff .
// nolint:wrapcheck // nolint:forcetypeassert