MCPcopy Create free account
hub / github.com/AppFlowy-IO/AppFlowy-Collab / string

Method string

collab/src/document/block_parser/plain_text_resolver.rs:205–211  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

203 }
204
205 fn string(&self, key: &str) -> Option<String> {
206 self
207 .data
208 .get(key)
209 .and_then(|value| value.as_str())
210 .map(|value| value.to_string())
211 }
212
213 fn bool(&self, key: &str) -> Option<bool> {
214 self.data.get(key).and_then(|value| match value {

Callers 1

handle_text_deltaMethod · 0.80

Calls 2

getMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected