MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / saveClearedLogIdToStorage

Function saveClearedLogIdToStorage

webui/src/store/crawlerStore.ts:41–47  ·  view source on GitHub ↗
(id: number | null)

Source from the content-addressed store, hash-verified

39
40// 保存清除标记到 localStorage
41function saveClearedLogIdToStorage(id: number | null): void {
42 if (id === null) {
43 localStorage.removeItem(CLEARED_LOG_ID_KEY)
44 } else {
45 localStorage.setItem(CLEARED_LOG_ID_KEY, id.toString())
46 }
47}
48
49const defaultConfig: CrawlerConfig = {
50 platform: 'bili',

Callers 1

crawlerStore.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected