diff options
author | 2017-12-11 18:23:51 -0800 | |
---|---|---|
committer | 2017-12-11 18:25:36 -0800 | |
commit | 52aff7dcac17c73a221487acc147e631c75124cd (patch) | |
tree | 10dcc3fe0007cc3c42df9ab4b570f140dac63316 /src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java | |
parent | 15feaf99b780e4a2c4cdd2647e5b51ea98579aad (diff) |
Thread FileSystem instance through a few call sites.
PiperOrigin-RevId: 178704585
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java b/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java index bdb3216223..824e71dc69 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/UnionFileSystem.java @@ -179,7 +179,7 @@ public class UnionFileSystem extends FileSystem { } @Override - protected boolean createDirectory(Path path) throws IOException { + public boolean createDirectory(Path path) throws IOException { checkModifiable(path); // When creating the exact directory that is mapped, // create it on both the parent's delegate and the path's delegate. @@ -213,7 +213,7 @@ public class UnionFileSystem extends FileSystem { } @Override - protected boolean delete(Path path) throws IOException { + public boolean delete(Path path) throws IOException { checkModifiable(path); FileSystem delegate = getDelegate(path); return delegate.delete(adjustPath(path, delegate)); @@ -379,7 +379,7 @@ public class UnionFileSystem extends FileSystem { } @Override - protected void setWritable(Path path, boolean writable) throws IOException { + public void setWritable(Path path, boolean writable) throws IOException { checkModifiable(path); path = internalResolveSymlink(path); FileSystem delegate = getDelegate(path); |