MCPcopy Create free account
hub / github.com/Rustixir/darkbird / new

Method new

src/darkbird/schema.rs:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16impl Schema {
17
18 pub fn new() -> Schema {
19 Schema {
20 datastores: AnyMap::new(),
21 names: HashSet::new()
22 }
23 }
24
25
26 pub async fn with_datastore<'a, K, Doc>(mut self, opts: Options<'a>) -> Result<Schema, SchemaError>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected