MCPcopy Create free account
hub / github.com/buggins/coolreader / addOPDSRoot

Method addOPDSRoot

android/src/org/coolreader/crengine/Scanner.java:407–417  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

405 }
406
407 private void addOPDSRoot() {
408 FileInfo dir = new FileInfo();
409 dir.isDirectory = true;
410 dir.pathname = FileInfo.OPDS_LIST_TAG;
411 dir.filename = coolReader.getString(R.string.mi_book_opds_root);
412 dir.isListed = true;
413 dir.isScanned = true;
414 dir.parent = mRoot;
415 mRoot.addDir(dir);
416 db.loadOPDSCatalogs(dir);
417 }
418
419 private void addSearchRoot() {
420 FileInfo dir = new FileInfo();

Callers 1

initRootsMethod · 0.95

Calls 3

addDirMethod · 0.80
loadOPDSCatalogsMethod · 0.80
getStringMethod · 0.45

Tested by

no test coverage detected