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

Function addEntry

src/background/database.ts:140–143  ·  view source on GitHub ↗
(entry: Entry)

Source from the content-addressed store, hash-verified

138}
139
140export async function addEntry(entry: Entry) {
141 const table = entry.type === 'anime' ? db.table('anime') : db.table('manga');
142 return table.put(entry);
143}
144
145export async function getEntry(
146 type: 'anime' | 'manga',

Callers 1

updateEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected