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

Side by Side Diff: go/src/infra/tools/cipd/internal/messages/messages.proto

Issue 1381583007: cipd: Implement local cache for ResolveVersion(...) call with tags. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@cipd-init
Patch Set: rebase Created 5 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 syntax = "proto2";
6
7 package messages;
8
9 // BlobWithSHA1 is a wrapper around a binary blob with SHA1 hash to verify
10 // its integrity.
11 message BlobWithSHA1 {
12 optional bytes blob = 1;
13 optional bytes sha1 = 2;
14 }
15
16 // TagCache stores a mapping (package name, tag) -> instance ID to speed up
17 // subsequence ResolveVersion calls when tags are used.
18 message TagCache {
19 message Entry {
20 optional string package = 1;
21 optional string tag = 2;
22 optional string instance_id = 3;
23 }
24
25 // Capped list of entries, most recently resolved is last.
26 repeated Entry entries = 1;
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698