From 39fab1020379d8e4554e5ddf1f269f11a37b6953 Mon Sep 17 00:00:00 2001 From: tomlu Date: Thu, 19 Oct 2017 21:35:06 +0200 Subject: 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 --- .../devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs') diff --git a/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java index dffdd256ef..b3e59d18b0 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/inmemoryfs/InMemoryFileSystem.java @@ -643,17 +643,17 @@ public class InMemoryFileSystem extends ScopeEscapableFileSystem { } @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; } -- cgit v1.2.3