MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / write_segment

Method write_segment

nodedb/src/engine/sparse/fts_redb/backend/core.rs:187–195  ·  view source on GitHub ↗
(
        &self,
        tid: u64,
        collection: &str,
        segment_id: &str,
        data: &[u8],
    )

Source from the content-addressed store, hash-verified

185 }
186
187 fn write_segment(
188 &self,
189 tid: u64,
190 collection: &str,
191 segment_id: &str,
192 data: &[u8],
193 ) -> crate::Result<()> {
194 super::segments::write(self, tid, collection, segment_id, data)
195 }
196
197 fn read_segment(
198 &self,

Callers 4

fts_write_segmentMethod · 0.45
write_columnar_segmentFunction · 0.45

Calls 1

writeFunction · 0.70

Tested by 1

write_columnar_segmentFunction · 0.36