MCPcopy Create free account
hub / github.com/ermak-dev/cloudpub / get_option

Method get_option

client/src/options.rs:154–156  ·  view source on GitHub ↗
(&self, option: ConfigOption)

Source from the content-addressed store, hash-verified

152
153impl ClientConfig {
154 pub fn get_option(&self, option: ConfigOption) -> Result<String> {
155 option.get_value(self)
156 }
157
158 pub fn set_option(&mut self, option: ConfigOption, value: &str) -> Result<()> {
159 option.set_value(self, value)?;

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected