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

Method visit_str

atomic-core/src/change/format_v3/graph_fields/raw.rs:80–83  ·  view source on GitHub ↗
(self, v: &str)

Source from the content-addressed store, hash-verified

78 visit_char(char)
79 );
80 fn visit_str<E: de::Error>(self, v: &str) -> Result<Self::Value, E> {
81 self.b.charge(v.len())?;
82 self.inner.visit_str(v)
83 }
84 fn visit_borrowed_str<E: de::Error>(self, v: &'de str) -> Result<Self::Value, E> {
85 self.b.charge(v.len())?;
86 self.inner.visit_borrowed_str(v)

Callers

nothing calls this directly

Calls 2

chargeMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected