MCPcopy Create free account
hub / github.com/elastio/devx / read_bytes

Method read_bytes

devx-cmd/src/lib.rs:414–416  ·  view source on GitHub ↗

Same as `cmd.spawn_piped()?.read_bytes()` See [`Child::read_bytes()`] for details.

(&self)

Source from the content-addressed store, hash-verified

412 /// Same as `cmd.spawn_piped()?.read_bytes()`
413 /// See [`Child::read_bytes()`] for details.
414 pub fn read_bytes(&self) -> Result<Vec<u8>> {
415 self.spawn_piped()?.read_bytes()
416 }
417
418 /// Spawns a child process returning a handle to it.
419 /// The child inherits both `stdout` and `stderr`.

Callers

nothing calls this directly

Calls 3

spawn_pipedMethod · 0.80
read_bytes_no_waitMethod · 0.80
waitMethod · 0.80

Tested by

no test coverage detected