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

Function _getCompleted

scripts/reading/progress.js:211–225  ·  view source on GitHub ↗
(path, file, first = false)

Source from the content-addressed store, hash-verified

209}
210
211async function _getCompleted(path, file, first = false) // TODO: unfinished function
212{
213 const readingProgress = relative.get('readingProgress');
214 const progress = readingProgress[path];
215
216 if(progress && progress.pages)
217 return (progress.pages === progress.page) ? true : false;
218
219 /*if(first)
220 {
221
222 }*/
223
224 return false;
225}
226
227async function getCompleted(path)
228{

Callers 1

getCompletedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected