MCPcopy Create free account
hub / github.com/pacexy/flow / section

Method section

packages/epubjs/src/mapping.js:23–28  ·  view source on GitHub ↗

* Find CFI pairs for entire section at once

(view)

Source from the content-addressed store, hash-verified

21 * Find CFI pairs for entire section at once
22 */
23 section(view) {
24 var ranges = this.findRanges(view)
25 var map = this.rangeListToCfiList(view.section.cfiBase, ranges)
26
27 return map
28 }
29
30 /**
31 * Find CFI pairs for a page

Callers 1

mapMethod · 0.95

Calls 2

findRangesMethod · 0.95
rangeListToCfiListMethod · 0.95

Tested by

no test coverage detected