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

Method with_index

nodedb/src/engine/document/store/config.rs:42–45  ·  view source on GitHub ↗
(mut self, path: &str)

Source from the content-addressed store, hash-verified

40 }
41
42 pub fn with_index(mut self, path: &str) -> Self {
43 self.index_paths.push(IndexPath::new(path));
44 self
45 }
46
47 pub fn with_crdt(mut self) -> Self {
48 self.crdt_enabled = true;

Calls 1

pushMethod · 0.45