You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: blobscleaner.go
    path of file: ./repos/storj/storagenode/gracefulexit
    
    the code of the file until where you have to start completion: // Copyright (C) 2020 Storj Labs, Inc.
// See LICENSE for copying information.

package gracefulexit

import (
	"context"
	"database/sql"
	"errors"
	"os"

	"go.uber.org/zap"

	"storj.io/storj/storagenode/pieces"
	"storj.io/storj/storagenode/satellites"
	"storj.io/storj/storagenode/trust"
)

// BlobsCleaner checks for satellites that the node has comple
    
func (blobsCleaner *BlobsCleaner) RemoveBlobs(ctx context.Context) (err error) {
	defer mon.Task()(&ctx)(&err)

	satelliteIDs := blobsCleaner.trust.GetSatellites(ctx)
	for i := 0; i < len(satelliteIDs); i++ {
		stats, err := blobsCleaner.satelliteDB.GetSatellite(ctx, satelliteIDs[i])
		if err != nil {
			if errors.Is(err, sql.ErrNoRows) {
				continue
			}

			blobsCleaner.log.Error("couldn't receive satellite's GE status", zap.Error(err))
			return nil
		}

		if stats.Status == satellites.ExitSucceeded {
			err = blobsCleaner.store.DeleteSatelliteBlobs(ctx, satelliteIDs[i])
			if err != nil {
				if os.IsNotExist(err) {
					continue
				}

				blobsCleaner.log.Error("couldn't delete blobs/satelliteID folder", zap.Error(err))
			}
		}
	}

	return nil
}