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

Function pad

tooling/scripts/sidebar-vim-smoke.mjs:52–52  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

50}
51const sleep = (ms) => new Promise((r) => setTimeout(r, ms))
52const pad = (n) => String(n).padStart(5, '0')
53const lastNoteFile = `${pad(NOTE_COUNT - 1)} - note.md`
54
55async function fileExists(p) {

Callers 7

cmdTagListFunction · 0.90
cmdTaskListFunction · 0.90
cmdVaultListFunction · 0.90
cmdSearchFunction · 0.90
cmdListFunction · 0.90
seedVaultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected