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

Method drop

basex-core/src/main/java/org/basex/core/cmd/DropBackup.java:55–57  ·  view source on GitHub ↗

Drops a backup with the specified name. @param backup name of backup file @param sopts static options @return success flag

(final String backup, final StaticOptions sopts)

Source from the content-addressed store, hash-verified

53 * @return success flag
54 */
55 public static boolean drop(final String backup, final StaticOptions sopts) {
56 return sopts.dbPath(backup + IO.ZIPSUFFIX).delete();
57 }
58
59 @Override
60 public void addLocks() {

Callers 2

runMethod · 0.95
applyMethod · 0.95

Calls 2

deleteMethod · 0.45
dbPathMethod · 0.45

Tested by

no test coverage detected