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

Method root

basex-core/src/main/java/org/basex/index/path/PathIndex.java:130–134  ·  view source on GitHub ↗

Returns the root node. @return root node

()

Source from the content-addressed store, hash-verified

128 * @return root node
129 */
130 public ArrayList<PathNode> root() {
131 final ArrayList<PathNode> out = new ArrayList<>();
132 out.add(root);
133 return out;
134 }
135
136 /**
137 * Returns all parents of the specified nodes.

Callers 1

descMethod · 0.95

Calls 1

addMethod · 0.65

Tested by

no test coverage detected