MCPcopy Create free account
hub / github.com/ReadyTalk/avian / mkdirs

Method mkdirs

classpath/java/io/File.java:237–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235 }
236
237 public boolean mkdirs() {
238 File parent = getParentFile();
239 if (parent != null) {
240 if (!parent.exists()) {
241 if (!parent.mkdirs()) {
242 return false;
243 }
244 }
245 }
246 return mkdir();
247 }
248
249 public File[] listFiles() {
250 return listFiles(null);

Callers

nothing calls this directly

Calls 3

getParentFileMethod · 0.95
existsMethod · 0.95
mkdirMethod · 0.95

Tested by

no test coverage detected