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

Function read_all

atomic-repository/src/change_source/process.rs:121–125  ·  view source on GitHub ↗
(mut reader: impl Read)

Source from the content-addressed store, hash-verified

119}
120
121fn read_all(mut reader: impl Read) -> std::io::Result<Vec<u8>> {
122 let mut bytes = Vec::new();
123 reader.read_to_end(&mut bytes)?;
124 Ok(bytes)
125}
126
127fn join_reader(
128 thread: thread::JoinHandle<std::io::Result<Vec<u8>>>,

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected