MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / make_response

Function make_response

nodedb/src/control/request_tracker.rs:115–125  ·  view source on GitHub ↗
(id: u64)

Source from the content-addressed store, hash-verified

113 use crate::types::Lsn;
114
115 fn make_response(id: u64) -> Response {
116 Response {
117 request_id: RequestId::new(id),
118 status: Status::Ok,
119 attempt: 1,
120 partial: false,
121 payload: Payload::empty(),
122 watermark_lsn: Lsn::ZERO,
123 error_code: None,
124 }
125 }
126
127 fn make_partial(id: u64, data: &str) -> Response {
128 Response {

Callers

nothing calls this directly

Calls 1

emptyFunction · 0.50

Tested by

no test coverage detected