MCPcopy Create free account
hub / github.com/WebThingsIO/webthing-node / readSync

Method readSync

example/platform/adc/index.js:18–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 }
17
18 readSync() {
19 const contents = fs.readFileSync(this.config.device, 'ascii');
20 return contents;
21 }
22
23 closeSync() {
24 }

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected