MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / describe_portal

Function describe_portal

tests/client_compat.rs:1152–1157  ·  view source on GitHub ↗
(portal: &str)

Source from the content-addressed store, hash-verified

1150}
1151
1152fn describe_portal(portal: &str) -> Vec<u8> {
1153 let mut body = Vec::new();
1154 body.push(b'P');
1155 add_cstring(&mut body, portal);
1156 tagged_message(b'D', body)
1157}
1158
1159fn execute_portal(portal: &str) -> Vec<u8> {
1160 let mut body = Vec::new();

Calls 3

add_cstringFunction · 0.85
tagged_messageFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected