MCPcopy Create free account
hub / github.com/diffplug/goomph / mkdirs

Method mkdirs

src/main/java/com/diffplug/gradle/FileMisc.java:94–99  ·  view source on GitHub ↗

Calls File#mkdirs() and throws an exception if it fails.

(File d)

Source from the content-addressed store, hash-verified

92
93 /** Calls {@link File#mkdirs()} and throws an exception if it fails. */
94 public static void mkdirs(File d) {
95 retry(d, dir -> {
96 java.nio.file.Files.createDirectories(dir.toPath());
97 return null;
98 });
99 }
100
101 /** Calls {@link FileUtils#forceDelete(File)} and throws an exception if it fails. If the file doesn't exist at all, that's fine. */
102 public static void forceDelete(File f) {

Callers 14

unzipMethod · 0.95
downloadMethod · 0.95
copyFileMethod · 0.95
cleanDirMethod · 0.95
WorkspaceRegistryMethod · 0.95
workspaceDirMethod · 0.95
ideSetupWorkspaceMethod · 0.95
copyFilesMethod · 0.95
bundleToVersionMethod · 0.95
closeMethod · 0.95
installMethod · 0.95

Calls 1

retryMethod · 0.95

Tested by

no test coverage detected