MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / rewrite

Function rewrite

packages/app-core/src/store.ts:2703–2703  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

2701 meta: NoteMeta
2702): Partial<Store> {
2703 const rewrite = (p: string): string => (p === oldPath ? meta.path : p)
2704 const nextLayout = rewritePathsInTree(s.paneLayout, rewrite)
2705 const ensured = ensureActivePane(nextLayout, s.activePaneId)
2706 const contents = { ...s.noteContents }

Callers 1

rewriteNoteJumpHistoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected