blob: 63ba20ae1b773ef3ce92632e5dda1f4e441013bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Because you followed autogenpb's advice (you did follow it right?) you now
// win the automation lottery.
//
// for this .proto file, GetProtobufName(pb) returns "repos"
// Then, ConfigLoad(), ConfigSave(), CacheLoad() and CacheSave()
// all do exactly what is expected:
//
// Automatically work with the files:
// ~/.config/<appname>/repos.pb
// or
// ~/.cache/<appname/repos.pb
//
// message Repos {
// string uuid = 1;
// string version = 2;
// repeated Repo repos = 3;
package config
|