MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / into_builder

Method into_builder

atomic-core/src/record/context.rs:533–535  ·  view source on GitHub ↗

Consume the context and return the builder. Use this after recording to get the accumulated changes. # Returns The record builder with all accumulated changes. # Example ```rust,ignore let mut ctx = RecordContext::new(&txn, &view, &working_copy, &changes); // ... record changes ... let builder = ctx.into_builder(); let recorded = builder.finish(); ```

(self)

Source from the content-addressed store, hash-verified

531 /// let recorded = builder.finish();
532 /// ```
533 pub fn into_builder(self) -> RecordBuilder {
534 self.builder
535 }
536
537 /// Take the builder, replacing it with a new empty builder.
538 ///

Callers 1

Calls

no outgoing calls

Tested by 1