aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2017-10-19 21:35:06 +0200
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-10-20 14:04:05 +0200
commit39fab1020379d8e4554e5ddf1f269f11a37b6953 (patch)
treeea2f941346edf709515dc234940608b226a8aa5f /src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java
parentcc519a047821d7e48b642d95ee6f7dfe2350bed8 (diff)
Add Path argument to supportsModifications, supports*LinksNatively.
This works better with UnionFileSystem, as (eg.) different mapped file systems might not agree on whether they are read-only. No actual code changes have been made that actually uses this argument, so this should be a behaviour no-op. PiperOrigin-RevId: 172782759
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java
index 777b089ea7..9ce2922584 100644
--- a/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java
+++ b/src/main/java/com/google/devtools/build/lib/vfs/JavaIoFileSystem.java
@@ -179,17 +179,17 @@ public class JavaIoFileSystem extends AbstractFileSystemWithCustomStat {
}
@Override
- public boolean supportsModifications() {
+ public boolean supportsModifications(Path path) {
return true;
}
@Override
- public boolean supportsSymbolicLinksNatively() {
+ public boolean supportsSymbolicLinksNatively(Path path) {
return true;
}
@Override
- public boolean supportsHardLinksNatively() {
+ public boolean supportsHardLinksNatively(Path path) {
return true;
}