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

Method getCachedOffset

src/_provider/Search/searchClass.ts:117–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 async getCachedOffset(): Promise<number> {
118 this.state = await this.getCache();
119 if (this.state) {
120 return this.state.offset;
121 }
122 return 0;
123 }
124
125 getId() {
126 if (this.state && this.state.id) return this.state.id;

Callers

nothing calls this directly

Calls 1

getCacheMethod · 0.95

Tested by

no test coverage detected