MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / copy

Method copy

java/src/org/openqa/selenium/io/FileHandler.java:105–115  ·  view source on GitHub ↗
(File from, File to)

Source from the content-addressed store, hash-verified

103 }
104
105 public static void copy(File from, File to) throws IOException {
106 if (!from.exists()) {
107 return;
108 }
109
110 if (from.isDirectory()) {
111 copyDir(from, to);
112 } else {
113 copyFile(from, to);
114 }
115 }
116
117 private static void copyDir(File from, File to) throws IOException {
118 // Create the target directory.

Callers 15

testFileCopyMethod · 0.95
copyModelMethod · 0.95
getProfileMethod · 0.95
copyDirMethod · 0.95
installExtensionFunction · 0.45
io_test.jsFile · 0.45
create_new_chrome_filesFunction · 0.45
mainMethod · 0.45
downloadFileMethod · 0.45
visitFileMethod · 0.45

Calls 4

copyDirMethod · 0.95
copyFileMethod · 0.95
existsMethod · 0.80
isDirectoryMethod · 0.65