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

Function updateCatalog

scripts/opds.js:91–104  ·  view source on GitHub ↗
(index, data = {})

Source from the content-addressed store, hash-verified

89}
90
91function updateCatalog(index, data = {})
92{
93 const opdsCatalogs = storage.get('opdsCatalogs');
94
95 if(opdsCatalogs[index])
96 {
97 for(let key in data)
98 {
99 opdsCatalogs[index][key] = data[key];
100 }
101 }
102
103 storage.set('opdsCatalogs', opdsCatalogs);
104}
105
106function updateCatalogSubtitle(url, subtitle)
107{

Callers 1

downloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected