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

Method read

basex-core/src/main/java/org/basex/index/resource/Docs.java:57–60  ·  view source on GitHub ↗

Reads the document index. @param in input stream @throws IOException I/O exception

(final DataInput in)

Source from the content-addressed store, hash-verified

55 * @throws IOException I/O exception
56 */
57 synchronized void read(final DataInput in) throws IOException {
58 docList = in.readDiffs();
59 pathIndex = data.meta.dbFile(DATAPTH).exists();
60 }
61
62 /**
63 * Writes the document index.

Callers

nothing calls this directly

Calls 3

readDiffsMethod · 0.80
dbFileMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected