Weave documentation
Rust referencestrand-blobs

strand-blobs · writer

Source declarations, signatures and documentation for writer.

Reviewed implementation boundary: The current GC path quarantines records without reclaiming their stored files. Check actual writer/list/report interfaces and partial-write behavior in /libraries/strand-blobs/overview.

Source: sigil/weave/models/strand-blobs/src/writer.rs. SHA-256: 1f9f6ec73cfc952a69c325197f37944ea73f774a97691e5c550899180ba8cf8e.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

writer::BlobWriter

Writer for streaming blob creation

pub struct BlobWriter {

}

Source line: 25.

writer::BlobWriter::new

Create a new blob writer

pub fn new(
        store: Arc<BlobStore>,
        metadata: Option<serde_json::Value>,
        chunk_size: usize,
        compression: Option<CompressionType>,
    ) -> Self;

Source line: 65.

writer::BlobWriter::bytes_written

Get the total bytes written so far

pub fn bytes_written(&self) -> u64;

Source line: 317.

writer::BlobWriter::chunks_written

Get the number of chunks written

pub fn chunks_written(&self) -> usize;

Source line: 322.

On this page