MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / constructor

Method constructor

lib/cloudDBAdapter.js:19–24  ·  view source on GitHub ↗
(url, { serialize = stringify, deserialize = parse, fetchOptions = {} } = {})

Source from the content-addressed store, hash-verified

17 })
18class CloudDBAdapter {
19 constructor(url, { serialize = stringify, deserialize = parse, fetchOptions = {} } = {}) {
20 this.url = url
21 this.serialize = serialize
22 this.deserialize = deserialize
23 this.fetchOptions = fetchOptions
24 }
25
26 async read() {
27 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected