MCPcopy Index your code
hub / github.com/ollm/OpenComic / simpleGet

Function simpleGet

scripts/reading/progress.js:101–109  ·  view source on GitHub ↗
(path, cache = true, cacheOnly = false)

Source from the content-addressed store, hash-verified

99}
100
101async function simpleGet(path, cache = true, cacheOnly = false)
102{
103 const _someRead = await someRead(path);
104
105 return {
106 completed: !_someRead ? false : await getCompleted(path),
107 someRead: _someRead,
108 };
109}
110
111async function someRead(path)
112{

Callers

nothing calls this directly

Calls 2

someReadFunction · 0.85
getCompletedFunction · 0.85

Tested by

no test coverage detected