MCPcopy Create free account
hub / github.com/alexankitty/Myrient-Search-Engine / readFile

Method readFile

lib/crawler/filehandler.js:40–46  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

38 }
39
40 static async readFile(filePath) {
41 try {
42 return await readFile(filePath, "utf8");
43 } catch (err) {
44 console.error(err);
45 }
46 }
47
48 static async writeFile(filePath, data) {
49 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected