MCPcopy Create free account
hub / github.com/Zeltoria/Clara-MD / constructor

Method constructor

lib/lowdb/adapters/JSONFileSync.js:3–5  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

1const { TextFileSync } = require('./TextFileSync.js');
2class JSONFileSync {
3 constructor(filename) {
4 this.adapter = new TextFileSync(filename);
5 }
6 read() {
7 const data = this.adapter.read();
8 if (data === null) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected