MCPcopy Create free account
hub / github.com/MALSync/MALSync / setOffset

Method setOffset

src/pages-sync/syncPage.ts:1038–1045  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

1036 }
1037
1038 async setOffset(value: number) {
1039 if (this.searchObj) {
1040 this.searchObj.setOffset(value);
1041 }
1042 if (typeof this.singleObj !== 'undefined') {
1043 api.storage.remove(`updateCheck/${this.singleObj.getType()}/${this.singleObj.getCacheKey()}`);
1044 }
1045 }
1046
1047 UILoaded = false;
1048

Callers 1

offsetHandlerMethod · 0.95

Calls 2

removeMethod · 0.80
getCacheKeyMethod · 0.45

Tested by

no test coverage detected