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

Method document

nodedb/src/data/executor/dispatch/visitor.rs:33–35  ·  view source on GitHub ↗
(&mut self, op: &DocumentOp)

Source from the content-addressed store, hash-verified

31 type Error = std::convert::Infallible;
32
33 fn document(&mut self, op: &DocumentOp) -> Result<Response, Self::Error> {
34 Ok(self.core_loop.dispatch_document(self.task, op))
35 }
36
37 fn vector(&mut self, op: &VectorOp) -> Result<Response, Self::Error> {
38 Ok(self.core_loop.dispatch_vector(self.task, op))

Callers

nothing calls this directly

Calls 1

dispatch_documentMethod · 0.80

Tested by

no test coverage detected