MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / get_string

Method get_string

graphlite/tests/testutils/cli_fixture.rs:216–221  ·  view source on GitHub ↗

Get a string value

(&self, key: &str)

Source from the content-addressed store, hash-verified

214
215 /// Get a string value
216 pub fn get_string(&self, key: &str) -> Option<String> {
217 match self.get(key) {
218 Some(Value::String(s)) => Some(s.clone()),
219 _ => None,
220 }
221 }
222
223 /// Get a number value
224 pub fn get_number(&self, key: &str) -> Option<f64> {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected