aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java b/src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java
index 80d4104686..60db714d17 100644
--- a/src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java
+++ b/src/main/java/com/google/devtools/build/lib/actions/MetadataProvider.java
@@ -13,7 +13,6 @@
// limitations under the License.
package com.google.devtools.build.lib.actions;
-import com.google.devtools.build.lib.actions.cache.Metadata;
import java.io.IOException;
import javax.annotation.Nullable;
@@ -30,21 +29,18 @@ public interface MetadataProvider {
* calls.
*
* <p>Returned {@link Metadata} instance correspond to the final target of a symlink, and
- * therefore must not have a type of
- * {@link com.google.devtools.build.lib.actions.FileStateType#SYMLINK} themselves.
+ * therefore must not have a type of {@link FileStateType#SYMLINK} themselves.
*
- * The return value is owned by the cache and must not be modified.
+ * <p>The return value is owned by the cache and must not be modified.
*
* @param input the input to retrieve the digest for
* @return the artifact's digest or null if digest cannot be obtained (due to artifact
- * non-existence, lookup errors, or any other reason)
- *
+ * non-existence, lookup errors, or any other reason)
* @throws DigestOfDirectoryException in case {@code input} is a directory.
* @throws IOException If the file cannot be digested.
- *
*/
@Nullable
- Metadata getMetadata(ActionInput input) throws IOException;
+ FileArtifactValue getMetadata(ActionInput input) throws IOException;
/** Looks up an input from its exec path. */
@Nullable