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

Method with_defaults

atomic-core/src/diff/semantic_to_crdt.rs:307–309  ·  view source on GitHub ↗

Create a converter with default configuration.

(change_id: NodeId, trunk_id: TrunkId)

Source from the content-addressed store, hash-verified

305
306 /// Create a converter with default configuration.
307 pub fn with_defaults(change_id: NodeId, trunk_id: TrunkId) -> Self {
308 Self::new(change_id, trunk_id, ConversionConfig::default())
309 }
310
311 /// Get the conversion statistics.
312 pub fn stats(&self) -> &ConversionStats {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected