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

Unified Diff: service/memcache/types.go

Issue 1269113005: A transparent cache for datastore, backed by memcache. (Closed) Base URL: https://github.com/luci/gae.git@add_meta
Patch Set: fix comments 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 | « service/memcache/raw_interface.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/memcache/types.go
diff --git a/service/memcache/types.go b/service/memcache/types.go
index c89d3756f016ad4c9210b7646286129e9f0e1eac..bd1d95ed35116ce604f76ebda43449bf03b70a33 100644
--- a/service/memcache/types.go
+++ b/service/memcache/types.go
@@ -38,7 +38,8 @@ type Item interface {
SetFlags(uint32) Item
SetExpiration(time.Duration) Item
- // SetAll copies all the values from other into this item (including the hidden
- // CasID field).
+ // SetAll copies all the values from other, except Key, into this item
+ // (including the hidden CasID field). If other is nil, then all non-Key
+ // fields are reset.
SetAll(other Item)
}
« no previous file with comments | « service/memcache/raw_interface.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698