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

Method list_segments

nodedb-wal/src/segmented.rs:234–236  ·  view source on GitHub ↗

List all segment metadata (for monitoring / operational tooling).

(&self)

Source from the content-addressed store, hash-verified

232
233 /// List all segment metadata (for monitoring / operational tooling).
234 pub fn list_segments(&self) -> Result<Vec<SegmentMeta>> {
235 discover_segments(&self.wal_dir)
236 }
237
238 /// Total WAL size on disk across all segments.
239 pub fn total_size_bytes(&self) -> Result<u64> {

Calls 1

discover_segmentsFunction · 0.85