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

Method addTitleRoot

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

Source from the content-addressed store, hash-verified

450 }
451
452 private void addTitleRoot() {
453 FileInfo dir = new FileInfo();
454 dir.isDirectory = true;
455 dir.pathname = FileInfo.TITLE_TAG;
456 dir.filename = coolReader.getString(R.string.folder_name_books_by_title);
457 dir.isListed = true;
458 dir.isScanned = true;
459 dir.parent = mRoot;
460 mRoot.addDir(dir);
461 }
462
463 /**
464 * Lists all directories from root to directory of specified file, returns found directory.

Callers 1

initRootsMethod · 0.95

Calls 2

addDirMethod · 0.80
getStringMethod · 0.45

Tested by

no test coverage detected