Skip to main content

apply

Function apply 

Source
pub fn apply(
    doc: &CourseStructure,
    ops: &[Op],
    course_is_live: bool,
    ids: &dyn IdGenerator,
) -> Result<StructureResult, EditError>
Expand description

Applies ops in order to doc. In a live course (not a draft, not in test mode) new pages without content start hidden.