MCPcopy Create free account
hub / github.com/LibPDF-js/core / hasChanges

Method hasChanges

src/api/pdf.ts:3153–3155  ·  view source on GitHub ↗

* Check if the document has unsaved changes.

()

Source from the content-addressed store, hash-verified

3151 * Check if the document has unsaved changes.
3152 */
3153 hasChanges(): boolean {
3154 return hasChanges(this.ctx.registry);
3155 }
3156
3157 /**
3158 * Check if incremental save is possible.

Callers 5

saveInternalMethod · 0.95
saveAndReloadMethod · 0.80
pdf.test.tsFile · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

hasChangesFunction · 0.90

Tested by

no test coverage detected