diff options
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java b/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java index 900f6dbae2..d8a198bce4 100644 --- a/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java +++ b/src/main/java/com/google/devtools/build/lib/vfs/FileSystemUtils.java @@ -424,7 +424,7 @@ public class FileSystemUtils { } } - private static ByteSource asByteSource(final Path path) { + public static ByteSource asByteSource(final Path path) { return new ByteSource() { @Override public InputStream openStream() throws IOException { return path.getInputStream(); @@ -432,7 +432,7 @@ public class FileSystemUtils { }; } - private static ByteSink asByteSink(final Path path, final boolean append) { + public static ByteSink asByteSink(final Path path, final boolean append) { return new ByteSink() { @Override public OutputStream openStream() throws IOException { return path.getOutputStream(append); @@ -440,7 +440,7 @@ public class FileSystemUtils { }; } - private static ByteSink asByteSink(final Path path) { + public static ByteSink asByteSink(final Path path) { return asByteSink(path, false); } |