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

Method removeAnnotation

apps/reader/src/models/reader.ts:206–210  ·  view source on GitHub ↗
(cfi: string)

Source from the content-addressed store, hash-verified

204 }
205 }
206 removeAnnotation(cfi: string) {
207 return this.updateBook({
208 annotations: snapshot(this.book.annotations).filter((a) => a.cfi !== cfi),
209 })
210 }
211
212 keyword = ''
213 setKeyword(keyword: string) {

Callers 2

AnnotationBlockFunction · 0.80

Calls 2

updateBookMethod · 0.95
filterMethod · 0.80

Tested by

no test coverage detected