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

Method storeFile

basex-core/src/main/java/org/basex/core/Stores.java:299–303  ·  view source on GitHub ↗

Returns a file reference for the specified store. @param name name of store @return file

(final String name)

Source from the content-addressed store, hash-verified

297 * @return file
298 */
299 private IOFile storeFile(final String name) {
300 final TokenBuilder tb = new TokenBuilder().add(NAME);
301 if(!standardStore(name)) tb.add('-').add(name);
302 return context.soptions.dbPath(tb.add(IO.BASEXSUFFIX).toString());
303 }
304
305 /**
306 * Checks if the supplied store refers to the standard store.

Callers 6

clearMethod · 0.95
readMethod · 0.95
deleteMethod · 0.95
getMethod · 0.95
readStoreMethod · 0.95
writeStoreMethod · 0.95

Calls 5

standardStoreMethod · 0.95
addMethod · 0.95
addMethod · 0.65
toStringMethod · 0.65
dbPathMethod · 0.45

Tested by

no test coverage detected