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

Function setResumeWaching

src/utils/general.ts:233–235  ·  view source on GitHub ↗
(url: string, ep: number, type, id)

Source from the content-addressed store, hash-verified

231}
232
233export async function setResumeWaching(url: string, ep: number, type, id) {
234 return api.storage.set(`resume/${type}/${id}`, { url, ep });
235}
236
237export async function getResumeWaching(type, id): Promise<{ url?: string; ep?: number } | void> {
238 if (!api.settings.get('malResume')) return;

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected