func (sto *replicaStorage) EnumerateBlobs(dest chan<- blobref.SizedBlobRef, after string, limit uint, waitSeconds int) os.Error { // TODO: option to enumerate from one or from all merged. for // now we'll just do all, even though it's kinda a waste. at // least then we don't miss anything if a certain node is // missing some blobs temporarily return blobserver.MergedEnumerate(dest, sto.replicas, after, limit, waitSeconds) }
func (sto *shardStorage) EnumerateBlobs(dest chan<- blobref.SizedBlobRef, after string, limit uint, waitSeconds int) os.Error { return blobserver.MergedEnumerate(dest, sto.shards, after, limit, waitSeconds) }