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

Method increment_vector_count

src/models/collection_transaction.rs:353–359  ·  view source on GitHub ↗
(&mut self, count: u32)

Source from the content-addressed store, hash-verified

351 }
352
353 pub fn increment_vector_count(&mut self, count: u32) {
354 match self {
355 Self::NotStarted { .. } => {}
356 Self::InProgress { stats, .. } => stats.records_upserted += count,
357 Self::Complete { stats, .. } => stats.records_upserted += count,
358 }
359 }
360
361 pub fn update_last_updated(&mut self) {
362 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected