Class FileOperations
- java.lang.Object
-
- com.google.cloud.tools.jib.filesystem.FileOperations
-
public class FileOperations extends java.lang.Object
Static methods for operating on the filesystem.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copy(com.google.common.collect.ImmutableList<java.nio.file.Path> sourceFiles, java.nio.file.Path destDir)
CopiessourceFiles
to thedestDir
directory.
-
-
-
Method Detail
-
copy
public static void copy(com.google.common.collect.ImmutableList<java.nio.file.Path> sourceFiles, java.nio.file.Path destDir) throws java.io.IOException
CopiessourceFiles
to thedestDir
directory.- Parameters:
sourceFiles
- the list of source files.destDir
- the directory to copy the files to.- Throws:
java.io.IOException
- if the copy fails.
-
-