MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / generateId

Method generateId

src/services/ViewStateManager.ts:376–378  ·  view source on GitHub ↗

* Generate a unique ID for saved views

()

Source from the content-addressed store, hash-verified

374 * Generate a unique ID for saved views
375 */
376 private generateId(): string {
377 return Date.now().toString(36) + Math.random().toString(36).slice(2, 11);
378 }
379
380 /**
381 * Migrate saved views from localStorage to plugin data, then load from plugin data

Callers 4

saveViewMethod · 0.95
createDefaultQueryMethod · 0.45
normalizeQueryMethod · 0.45

Calls 2

nowMethod · 0.80
toStringMethod · 0.65

Tested by

no test coverage detected