MCPcopy Create free account
hub / github.com/cosdata/cosdata / new_implicit

Method new_implicit

src/models/versioning.rs:62–78  ·  view source on GitHub ↗
(
        version: VersionNumber,
        epoch_id: u32,
        created_at: DateTime<Utc>,
        records_upserted: u32,
        records_deleted: u32,
        total_operations: u32,
    )

Source from the content-addressed store, hash-verified

60
61impl VersionInfo {
62 pub fn new_implicit(
63 version: VersionNumber,
64 epoch_id: u32,
65 created_at: DateTime<Utc>,
66 records_upserted: u32,
67 records_deleted: u32,
68 total_operations: u32,
69 ) -> Self {
70 Self {
71 version,
72 source: VersionSource::Implicit { epoch_id },
73 created_at,
74 records_upserted,
75 records_deleted,
76 total_operations,
77 }
78 }
79
80 pub fn new_explicit(
81 version: VersionNumber,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected