summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 00:06:16 -0500
committerJeff Carr <[email protected]>2025-10-07 00:06:16 -0500
commit7476375eb31e1fb2b83508621348597a8cf6ad16 (patch)
tree78ff0d91946f9893d7c07478d3204c09506bf352
parente08007d834ae3aef4c0b1f54a6b57830ffb9b675 (diff)
add pb.Save() and pb.Load()v0.0.74
-rw-r--r--machine.proto1
-rw-r--r--package.proto1
2 files changed, 2 insertions, 0 deletions
diff --git a/machine.proto b/machine.proto
index 9cca303..b52622c 100644
--- a/machine.proto
+++ b/machine.proto
@@ -27,4 +27,5 @@ message Machines { // `autogenpb:marshal`
string uuid = 1; // `autogenpb:uuid:b57e7fac-a8fc-4949-9d50-fa38312dec87`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Machine machines = 3;
+ string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}
diff --git a/package.proto b/package.proto
index 35b0233..0e34856 100644
--- a/package.proto
+++ b/package.proto
@@ -20,4 +20,5 @@ message Packages { // `autogenpb:marshal` `
string uuid = 1; // `autogenpb:uuid:2f26cc03-ea30-4481-a333-ad0acc86e1d3`
string version = 2; // `autogenpb:version:v0.0.1`
repeated Package packages = 3;
+ string filename = 4; // `autogenpb:save` -- this enables autogenerated pb.Load() and pb.Save()
}