MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / get_string

Method get_string

crates/chat-cli/src/database/settings.rs:247–249  ·  view source on GitHub ↗
(&self, key: Setting)

Source from the content-addressed store, hash-verified

245 }
246
247 pub fn get_string(&self, key: Setting) -> Option<String> {
248 self.get(key).and_then(|value| value.as_str().map(|s| s.into()))
249 }
250
251 pub fn get_int(&self, key: Setting) -> Option<i64> {
252 self.get(key).and_then(|value| value.as_i64())

Callers 9

client_idMethod · 0.80
executeMethod · 0.80
rlFunction · 0.80
invokeMethod · 0.80
executeMethod · 0.80
loadMethod · 0.80

Calls 3

mapMethod · 0.80
getMethod · 0.45
as_strMethod · 0.45

Tested by 1

invokeMethod · 0.64