MCPcopy Create free account
hub / github.com/Rustixir/darkbird / insert_with_uuid

Method insert_with_uuid

src/darkbird/storage_vector.rs:124–127  ·  view source on GitHub ↗
(&self, vec: Vec<f32>)

Source from the content-addressed store, hash-verified

122 /// insert to storage and persist to disk
123 #[inline]
124 pub async fn insert_with_uuid(&self, vec: Vec<f32>) -> Result<(), SessionResult> {
125 let vid = Uuid::new_v4().to_string();
126 return self.insert(vid, vec).await
127 }
128
129
130 /// remove from storage and persist to disk

Callers 1

vec_insert_with_uuidMethod · 0.80

Calls 2

to_stringMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected