| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI 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 under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be 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" |
| 11 ) | 11 ) |
| 12 | 12 |
| 13 // Cursor wraps datastore.Cursor. | 13 // Cursor wraps datastore.Cursor. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 // - len(keys) > 0 | 171 // - len(keys) > 0 |
| 172 // - all keys are Valid, !Incomplete, and in the current namespace | 172 // - all keys are Valid, !Incomplete, and in the current namespace |
| 173 // - none keys of the keys are 'special' (use a kind prefixed with '__
') | 173 // - none keys of the keys are 'special' (use a kind prefixed with '__
') |
| 174 // - cb is not nil | 174 // - cb is not nil |
| 175 DeleteMulti(keys []*Key, cb DeleteMultiCB) error | 175 DeleteMulti(keys []*Key, cb DeleteMultiCB) error |
| 176 | 176 |
| 177 // Testable returns the Testable interface for the implementation, or ni
l if | 177 // Testable returns the Testable interface for the implementation, or ni
l if |
| 178 // there is none. | 178 // there is none. |
| 179 Testable() Testable | 179 Testable() Testable |
| 180 } | 180 } |
| OLD | NEW |