| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package datastore | 5 package datastore |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "fmt" | 8 "fmt" |
| 9 | 9 |
| 10 "golang.org/x/net/context" | 10 "golang.org/x/net/context" |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 // | 185 // |
| 186 // Callback execues once per key, in the order of keys. Callback may not | 186 // Callback execues once per key, in the order of keys. Callback may not |
| 187 // execute at all if there's a server error. | 187 // execute at all if there's a server error. |
| 188 // | 188 // |
| 189 // NOTE: Implementations and filters are guaranteed that | 189 // NOTE: Implementations and filters are guaranteed that |
| 190 // - len(keys) > 0 | 190 // - len(keys) > 0 |
| 191 // - all keys are Valid, !Incomplete, and in the current namespace | 191 // - all keys are Valid, !Incomplete, and in the current namespace |
| 192 // - none keys of the keys are 'special' (use a kind prefixed with '__
') | 192 // - none keys of the keys are 'special' (use a kind prefixed with '__
') |
| 193 // - cb is not nil | 193 // - cb is not nil |
| 194 DeleteMulti(keys []Key, cb DeleteMultiCB) error | 194 DeleteMulti(keys []Key, cb DeleteMultiCB) error |
| 195 |
| 196 // Testable returns the Testable interface for the implementation, or ni
l if |
| 197 // there is none. |
| 198 Testable() Testable |
| 195 } | 199 } |
| OLD | NEW |