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

Class ApplyContext

atomic-core/src/crdt/apply/context.rs:410–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408/// ```
409#[derive(Debug)]
410pub struct ApplyContext {
411 /// Configuration options.
412 options: ApplyOptions,
413
414 /// Operation statistics.
415 stats: ApplyStats,
416
417 /// Detected conflicts.
418 conflicts: Vec<CrdtConflict>,
419
420 /// Whether the apply has failed.
421 failed: bool,
422
423 /// Failure reason, if any.
424 failure_reason: Option<String>,
425}
426
427impl ApplyContext {
428 /// Creates a new context with the given options.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected