From 3136d9c26a01cb68890af0e09020ce1d5881d7a1 Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 12 Jan 2023 12:05:48 -0800 Subject: [PATCH] Document concepts like root, exec root, exec path more clearly. PiperOrigin-RevId: 501630570 Change-Id: I16a8d7e46582f5c7cf5107a205613d07bdaaaf79 --- .../devtools/build/lib/actions/Artifact.java | 6 ++- .../build/lib/actions/ArtifactRoot.java | 48 ++++++++++++++++++- 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java index 206019dc275a18..6a440843f7cfa9 100644 --- a/src/main/java/com/google/devtools/build/lib/actions/Artifact.java +++ b/src/main/java/com/google/devtools/build/lib/actions/Artifact.java @@ -87,8 +87,10 @@ * validation, will also have null generating Actions. * * - * In the usual case, an Artifact represents a single file. However, an Artifact may also represent - * the following: + *

See {@link ArtifactRoot} for a detailed example on root, execRoot, and related paths. + * + *

In the usual case, an Artifact represents a single file. However, an Artifact may also + * represent the following: * *