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

Method parent

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

Returns the parent of this file or directory or null if there is no parent directory. @return directory or null

()

Source from the content-addressed store, hash-verified

204 * @return directory or {@code null}
205 */
206 public IOFile parent() {
207 final String parent = file.getParent();
208 return parent == null ? null : new IOFile(parent + '/');
209 }
210
211 /**
212 * Returns the children of the path.

Callers 15

locateMethod · 0.95
stopMethod · 0.95
stopMethod · 0.95
writeStoreMethod · 0.95
renameMethod · 0.95
exportMethod · 0.95
restoreMethod · 0.95
openMethod · 0.95
createMethod · 0.95
writeFileResourceMethod · 0.95
copyMethod · 0.95
applyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected