summaryrefslogtreecommitdiff
path: root/interceptor/log.proto
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2021-11-24 15:05:27 +0000
committerMatthias Maennich <maennich@google.com>2021-11-24 16:04:12 +0000
commit7b413cd0e86858aefe58b791f3e9ededa891231f (patch)
tree4b8861fee4330aafaba625f517a656309fcd104b /interceptor/log.proto
parentdc7bd73742bc1b7c75194f47a5b74f5a50e7a3c2 (diff)
downloadbuild-tools-7b413cd0e86858aefe58b791f3e9ededa891231f.tar.gz
interceptor: use consistent non-abbreviated naming
This aligns the proto naming as well as the internal naming for constants and variables. Bug: 207620215 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I31dbf812d48abafe3343cac8cccd5ea4727b8fb9
Diffstat (limited to 'interceptor/log.proto')
-rw-r--r--interceptor/log.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/interceptor/log.proto b/interceptor/log.proto
index 8e721b3..7bd027c 100644
--- a/interceptor/log.proto
+++ b/interceptor/log.proto
@@ -21,9 +21,9 @@ package interceptor;
// A Command as traced by intercepting an execve() invocation.
message Command {
string program = 1;
- repeated string args = 2;
- map<string, string> env_vars = 3;
- string current_dir = 4;
+ repeated string arguments = 2;
+ map<string, string> environment_variables = 3;
+ string current_directory = 4;
repeated string inputs = 5;
repeated string outputs = 6;
};
@@ -36,7 +36,7 @@ message Message {
// The entirety of a the final log should be stored as just this Log.
message Log {
- string root_dir = 1; // ${ROOT_DIR} or cwd() if unset
+ string root_directory = 1; // ${ROOT_DIR} or cwd() if unset
repeated Command commands = 2;
}