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

Function delete

src/_provider/singleAbstract.ts:456–465  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

454 abstract _delete(): Promise<void>;
455
456 public async delete(): Promise<void> {
457 return this._delete().then(() => {
458 this._onList = false;
459 globalEmit(`delete.${this.getCacheKey()}`, {
460 id: this.getPageId(),
461 type: this.getType(),
462 cacheKey: this.getCacheKey(),
463 });
464 });
465 }
466
467 protected globalUpdateEvent;
468

Callers

nothing calls this directly

Calls 4

globalEmitFunction · 0.90
_deleteMethod · 0.45
getCacheKeyMethod · 0.45
getPageIdMethod · 0.45

Tested by

no test coverage detected