MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / write

Method write

iohash/src/main.rs:67–69  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

65 struct BlackHole;
66 impl Write for BlackHole {
67 fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
68 Ok(buf.len())
69 }
70
71 fn flush(&mut self) -> std::io::Result<()> {
72 Ok(())

Callers 15

encode_toMethod · 0.80
create_app_composeMethod · 0.80
send_rpc_requestFunction · 0.80
copyMethod · 0.80
sync_instanceMethod · 0.80
sync_delete_instanceMethod · 0.80
sync_nodeMethod · 0.80
set_node_statusMethod · 0.80
sync_connectionsMethod · 0.80
sync_node_last_seenMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by 1

encode_toMethod · 0.64