MCPcopy Index your code
hub / github.com/MALSync/MALSync / setProgressMode

Function setProgressMode

src/_provider/singleAbstract.ts:315–325  ·  view source on GitHub ↗
(mode: string)

Source from the content-addressed store, hash-verified

313 }
314
315 public setProgressMode(mode: string): void {
316 if (this.options) {
317 this.options.p = mode;
318 this.updateProgress = true;
319 }
320 if (!api.settings.get('malTags')) {
321 utils
322 .setEntrySettings(this.type, this.getCacheKey(), this.options, this._getTags())
323 .then(() => this.initProgress());
324 }
325 }
326
327 public getProgressKey() {
328 let mode = this.getProgressMode();

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
getCacheKeyMethod · 0.45
_getTagsMethod · 0.45

Tested by

no test coverage detected