MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / output

Function output

atomic-repository/src/change_source/watchman.rs:219–225  ·  view source on GitHub ↗
(json: &str)

Source from the content-addressed store, hash-verified

217 }
218
219 fn output(json: &str) -> Result<CommandOutput, ChangeSourceError> {
220 Ok(CommandOutput {
221 status: 0,
222 stdout: json.as_bytes().to_vec(),
223 stderr: Vec::new(),
224 })
225 }
226
227 #[test]
228 fn implements_canonical_candidate_contract() {

Callers

nothing calls this directly

Calls 1

as_bytesMethod · 0.45

Tested by

no test coverage detected