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

Method run

basex-core/src/main/java/org/basex/core/cmd/Close.java:24–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 }
23
24 @Override
25 protected boolean run() {
26 final Data data = context.data();
27 if(data == null) return true;
28
29 close(data, context);
30 context.closeDB();
31 return info(DB_CLOSED_X, data.meta.name);
32 }
33
34 @Override
35 public void addLocks() {

Callers

nothing calls this directly

Calls 4

closeMethod · 0.95
closeDBMethod · 0.80
infoMethod · 0.65
dataMethod · 0.45

Tested by

no test coverage detected