aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java
diff options
context:
space:
mode:
authorGravatar felly <felly@google.com>2018-07-26 07:46:15 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-26 07:47:48 -0700
commit09efb3fb5cbefe48d7c6685b01cfd72f848563c8 (patch)
tree24f28786c42e6245ff0c8f99391a645d7610d741 /src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java
parent74146fdbcc4eb0463e64588a764b22e253a405ac (diff)
Use the path resolver when dealing with tree artifacts.
RELNOTES: None PiperOrigin-RevId: 206157591
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java b/src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java
index b501f3abce..31fa632225 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/FilesystemValueChecker.java
@@ -394,7 +394,8 @@ public class FilesystemValueChecker {
// There doesn't appear to be any facility to batch list directories... we must
// do things the 'slow' way.
try {
- Set<PathFragment> currentDirectoryValue = TreeArtifactValue.explodeDirectory(artifact);
+ Set<PathFragment> currentDirectoryValue =
+ TreeArtifactValue.explodeDirectory(artifact.getPath());
Set<PathFragment> valuePaths = value.getChildPaths();
return !currentDirectoryValue.equals(valuePaths);
} catch (IOException e) {