MCPcopy Create free account
hub / github.com/bootc-dev/bootc / run_get_string

Method run_get_string

crates/utils/src/command.rs:178–183  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

176 }
177
178 fn run_get_string(&mut self) -> Result<String> {
179 let mut s = String::new();
180 let mut o = self.run_get_output()?;
181 o.read_to_string(&mut s)?;
182 Ok(s)
183 }
184
185 /// Synchronously execute the child, and parse its stdout as JSON.
186 fn run_and_parse_json<T: serde::de::DeserializeOwned>(&mut self) -> Result<T> {

Callers

nothing calls this directly

Calls 1

run_get_outputMethod · 0.80

Tested by

no test coverage detected