diff options
| author | Jeff Carr <[email protected]> | 2024-11-26 04:34:01 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-26 04:34:01 -0600 |
| commit | 316bc8ea81200a48b8a7259905720362b512ce2a (patch) | |
| tree | 411251bf71593f7e434f92cd0124108dafe365c6 /refs.proto | |
Day 1
Diffstat (limited to 'refs.proto')
| -rw-r--r-- | refs.proto | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/refs.proto b/refs.proto new file mode 100644 index 0000000..ccfffd8 --- /dev/null +++ b/refs.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + +package gitpb; + +import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp + +message Ref { + string hash = 1; // git objectname + google.protobuf.Timestamp ctime = 2; // git creatordate + string refName = 3; // git refname + string author = 4; // git author + string subject = 5; // git subject +} + +message Refs { + string uuid = 1; // I guess why not just have this on each file + string version = 2; // maybe can be used for protobuf schema change violations + repeated Ref refs = 3; +} |
