MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / visit_string

Method visit_string

atomic-core/src/change/format_v3/graph_fields/raw.rs:88–91  ·  view source on GitHub ↗
(self, v: String)

Source from the content-addressed store, hash-verified

86 self.inner.visit_borrowed_str(v)
87 }
88 fn visit_string<E: de::Error>(self, v: String) -> Result<Self::Value, E> {
89 self.b.charge(v.len())?;
90 self.inner.visit_string(v)
91 }
92 fn visit_bytes<E: de::Error>(self, v: &[u8]) -> Result<Self::Value, E> {
93 self.b.charge(v.len())?;
94 self.inner.visit_bytes(v)

Callers

nothing calls this directly

Calls 2

chargeMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected