MCPcopy
hub / github.com/marktext/marktext / getUniqueId

Function getUniqueId

packages/desktop/src/main/utils/index.ts:6–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4let id = 0
5
6export const getUniqueId = (): string => {
7 return `${ID_PREFIX}${id++}`
8}
9
10// TODO: Remove this function and load the recommend title from the editor (renderer) when
11// requesting the document to save/export.

Callers 1

watchMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected