MCPcopy Create free account
hub / github.com/BaseXdb/basex / md

Method md

basex-core/src/main/java/org/basex/io/IOFile.java:198–200  ·  view source on GitHub ↗

Recursively creates the directory if it does not exist yet. @return true if the directory exists or has been created

()

Source from the content-addressed store, hash-verified

196 * @return {@code true} if the directory exists or has been created
197 */
198 public boolean md() {
199 return file.exists() || file.mkdirs();
200 }
201
202 /**
203 * Returns the parent of this file or directory or {@code null} if there is no parent directory.

Callers 15

repoFileMethod · 0.95
circularDepsMethod · 0.95
createTempDbMethod · 0.95
initSandboxMethod · 0.95
exportMethod · 0.95
restoreMethod · 0.95
copyMethod · 0.95
unzipMethod · 0.95
executeMethod · 0.95
confirmMethod · 0.95
initMethod · 0.80
locateMethod · 0.80

Calls 1

existsMethod · 0.45

Tested by 5

repoFileMethod · 0.76
circularDepsMethod · 0.76
initMethod · 0.64
testMethod · 0.64
runMethod · 0.64