diff options
| author | Jeff Carr <[email protected]> | 2025-03-26 03:03:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-26 20:44:06 -0500 |
| commit | 2775e36aa4e981a4a052b6f15148b61b0f13a2f7 (patch) | |
| tree | 1e3d272a89b35129fba6c4eaef03d6f1ae0de01b /file.proto | |
| parent | 96fe1d8f1413438c936befd0261adbd8181bc181 (diff) | |
try to autoformat the protobufs for the signal devs
Diffstat (limited to 'file.proto')
| -rw-r--r-- | file.proto | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -48,6 +48,7 @@ message MsgName { bool noMutex = 12; // only use the global mutex bool doGui = 13; // if a gui.pb.go file should be created string guiVarName = 14; // the name of the variable to use + MsgName localMsgs = 15; // messages can define other local only messages } message Sort { @@ -58,6 +59,15 @@ message Sort { bool needAll = 5; // } +// used to format protobuf files +message FormatMsg { + repeated string lines = 1; // keys to sort on + int64 maxVarname = 2; // max string length of var names + int64 maxVartype = 3; // max string length of var types + repeated FormatMsg inceptionMsgs = 4; // messages inside messages + repeated FormatMsg enums = 5; // locally defined enums +} + message Find { string parent = 1; // `autogenpb:unique` File string varType = 2; // `autogenpb:unique` MsgName |
