MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / len

Method len

crates/commitlog/src/segment.rs:211–213  ·  view source on GitHub ↗

Number of bytes written to this segment, including the header.

(&self)

Source from the content-addressed store, hash-verified

209
210 /// Number of bytes written to this segment, including the header.
211 pub fn len(&self) -> u64 {
212 self.bytes_written
213 }
214}
215
216pub trait FileLike {

Callers 15

encode_recordMethod · 0.45
segment.rsFile · 0.45
decodeMethod · 0.45
commitsFunction · 0.45
from_strMethod · 0.45
from_str_truncateMethod · 0.45
from_stringMethod · 0.45
from_string_truncateMethod · 0.45
deserializeMethod · 0.45
arbitrary_withMethod · 0.45
segment_offsets_fromMethod · 0.45
commitMethod · 0.45

Calls

no outgoing calls

Tested by 3

commitsFunction · 0.36
compressionFunction · 0.36
all_segments_sealedFunction · 0.36