summaryrefslogtreecommitdiff
path: root/repo.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-13 05:56:45 -0600
committerJeff Carr <[email protected]>2025-01-13 05:56:45 -0600
commit25ab223c07152a41f74b37ff667f6fdd329b2fe6 (patch)
treee41c1ba016b12354d072f56149625f9512e2fbac /repo.proto
parent208118ad5f78ce6e15da00753df491cfed771ce8 (diff)
testing mutex locks and Marshal() function panic
Diffstat (limited to 'repo.proto')
-rw-r--r--repo.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/repo.proto b/repo.proto
index b509877..83c7206 100644
--- a/repo.proto
+++ b/repo.proto
@@ -11,7 +11,7 @@ import "google/protobuf/timestamp.proto"; // Import the well-known type for Time
// global settings for autogenpb `autogenpb:mutex`
-message Repo { // `autogenpb:marshal` `autogenpb:nomutex`
+message Repo { // `autogenpb:marshal` `autogenpb:2nomutex`
string fullPath = 1; // `autogenpb:unique` `autogenpb:sort` // the actual path to the .git directory: '/home/devel/golang.org/x/tools'
string masterBranchName = 3; // git 'main' or 'master' branch name
string develBranchName = 4; // whatever the git 'devel' branch name is
@@ -43,7 +43,7 @@ message Repos { // `autogenpb:marshal` `autogenpb:sort`
}
// should it be done this way?
-message GitTimes { // `autogenpb:nomutex`
+message GitTimes { // `autogenpb:2nomutex`
google.protobuf.Timestamp lastPull = 1; // last time a git pull was done
google.protobuf.Timestamp lastUpdate = 2; // when was ReloadGit() last done
google.protobuf.Timestamp lastDirty = 3; // last time CheckDirty() was run
@@ -56,7 +56,7 @@ message GitTimes { // `autogenpb:nomutex`
}
// this is probably better. think about moving to this instead
-message GoInfo { // `autogenpb:nomutex`
+message GoInfo { // `autogenpb:2nomutex`
string goPath = 1; // the logical path as used by golang: 'go.wit.com/apps/helloworld'
string desc = 2; // what is this repo?
bool goLibrary = 3; // is this a golang library?