MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / total_len

Method total_len

wasm-pdk/example/src/lib.rs:74–76  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

72 }
73
74 pub fn total_len(&self) -> i64 {
75 self.parts.iter().map(|p| p.len() as i64).sum()
76 }
77
78 pub fn pop(&mut self) -> Option<String> {
79 self.parts.pop()

Callers 1

script.pyFile · 0.80

Calls 2

iterMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected