MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / mkdirs

Method mkdirs

CodenameOne/src/com/codename1/io/File.java:360–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358 ///
359 /// True on success.
360 public boolean mkdirs() {
361 File parentFile = getParentFile();
362 if (parentFile != null && !parentFile.exists()) {
363 boolean res = getParentFile().mkdirs();
364 if (!res) {
365 return res;
366 }
367 }
368 return mkdir();
369 }
370
371 /// Renames the file to the provided file object.
372 ///

Callers 5

migrateGuiBuilderMethod · 0.95
compileMethod · 0.95
syncDirectoriesMethod · 0.45

Calls 3

getParentFileMethod · 0.95
existsMethod · 0.95
mkdirMethod · 0.95

Tested by

no test coverage detected