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

Function finish_plain

nodedb-array/src/segment/writer.rs:129–131  ·  view source on GitHub ↗

Finish a writer without encryption — convenience for existing tests.

(w: SegmentWriter)

Source from the content-addressed store, hash-verified

127
128 /// Finish a writer without encryption — convenience for existing tests.
129 fn finish_plain(w: SegmentWriter) -> crate::error::ArrayResult<Vec<u8>> {
130 w.finish(None)
131 }
132
133 fn schema() -> crate::schema::ArraySchema {
134 ArraySchemaBuilder::new("g")

Calls 1

finishMethod · 0.45