Expand description
Compares two states of course content: blocks matched by id, and modules, chapters and pages by the fields models compare.
Structs§
- Block
Change - One block that differs between two states of the same pages.
- Placed 🔒
Enums§
- Change
Kind - How a block or an entity differs between two states.
Functions§
- changed_
roots - The top-level trees of
pagethat hold a block added, changed or moved there sincebefore, or that lost a child: a container’s template can require the child.beforeis the page as it was, if it existed. - diff_
blocks - The blocks that differ between the pages of
beforeandafter. A page must be on both sides when it exists on both. - diff_
pages - The blocks that differ between two states of the pages. A page a state doesn’t have has no blocks there.
- place_
blocks 🔒 - Where every block of the pages is, and the block ids in page order.
- structure_
changes - The modules, chapters and pages that
afteradds or changes ofbefore, by id.