MCPcopy
hub / github.com/ollm/OpenComic / someRead

Function someRead

scripts/reading/progress.js:111–125  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

109}
110
111async function someRead(path)
112{
113 const readingProgress = relative.get('readingProgress');
114 const paths = await findReadingProgressPaths(path, false);
115
116 for(const key of paths)
117 {
118 const progress = readingProgress[key];
119
120 if(progress && progress.page && fileManager.simpleExists(key, true))
121 return true;
122 }
123
124 return false;
125}
126
127async function readPages(path)
128{

Callers 1

simpleGetFunction · 0.85

Calls 1

findReadingProgressPathsFunction · 0.85

Tested by

no test coverage detected