| Index: server/logdog/storage/storage.go
|
| diff --git a/server/logdog/storage/storage.go b/server/logdog/storage/storage.go
|
| index 3ef64078db637de73daf4780c07c6c7d28e2ff5f..57819b240e8b1a3690aee2ffa88aa950d89e5750 100644
|
| --- a/server/logdog/storage/storage.go
|
| +++ b/server/logdog/storage/storage.go
|
| @@ -61,6 +61,10 @@ type GetRequest struct {
|
| // The Storage instance may return fewer records than the supplied Limit as an
|
| // implementation detail.
|
| Limit int
|
| + // KeysOnly, if true, allows (but doesn't require) the Storage instance to
|
| + // omit entry data in its get callback. For scanning operations, this can be
|
| + // much cheaper/faster than full data queries.
|
| + KeysOnly bool
|
| }
|
|
|
| // GetCallback is invoked for each record in the Get request. If it returns
|
|
|