Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Unified Diff: service/datastore/checkfilter.go

Issue 1270063002: Rename rawdatastore -> datastore (Closed) Base URL: https://github.com/luci/gae.git@master
Patch Set: and a bit more Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/prod/raw_datastore_type_converter.go ('k') | service/datastore/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/datastore/checkfilter.go
diff --git a/service/rawdatastore/checkfilter.go b/service/datastore/checkfilter.go
similarity index 92%
rename from service/rawdatastore/checkfilter.go
rename to service/datastore/checkfilter.go
index bf091358c7b0a21f0b17b99fc2623fea19845c61..466ad2e256310d48f57c95c8ec5af4013782c8b0 100644
--- a/service/rawdatastore/checkfilter.go
+++ b/service/datastore/checkfilter.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package rawdatastore
+package datastore
import (
"fmt"
@@ -54,7 +54,7 @@ func (tcf *checkFilter) GetMulti(keys []Key, cb GetMultiCB) error {
func (tcf *checkFilter) PutMulti(keys []Key, vals []PropertyLoadSaver, cb PutMultiCB) error {
if len(keys) != len(vals) {
- return fmt.Errorf("rawdatastore: GetMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals))
+ return fmt.Errorf("datastore: GetMulti with mismatched keys/vals lengths (%d/%d)", len(keys), len(vals))
}
if len(keys) == 0 {
return nil
@@ -70,7 +70,7 @@ func (tcf *checkFilter) PutMulti(keys []Key, vals []PropertyLoadSaver, cb PutMul
}
v := vals[i]
if v == nil {
- lme.Assign(i, errors.New("rawdatastore: PutMulti got nil vals entry"))
+ lme.Assign(i, errors.New("datastore: PutMulti got nil vals entry"))
} else {
lme.Assign(i, v.Problem())
}
« no previous file with comments | « impl/prod/raw_datastore_type_converter.go ('k') | service/datastore/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698