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

Method addSearchRoot

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

Source from the content-addressed store, hash-verified

417 }
418
419 private void addSearchRoot() {
420 FileInfo dir = new FileInfo();
421 dir.isDirectory = true;
422 dir.pathname = FileInfo.SEARCH_SHORTCUT_TAG;
423 dir.filename = coolReader.getString(R.string.mi_book_search);
424 dir.isListed = true;
425 dir.isScanned = true;
426 dir.parent = mRoot;
427 mRoot.addDir(dir);
428 }
429
430 private void addAuthorsRoot() {
431 FileInfo dir = new FileInfo();

Callers 1

initRootsMethod · 0.95

Calls 2

addDirMethod · 0.80
getStringMethod · 0.45

Tested by

no test coverage detected