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

Function appendBounded

tooling/scripts/perf-web-runtime.mjs:246–249  ·  view source on GitHub ↗
(buffer, chunk, maxLength = 12000)

Source from the content-addressed store, hash-verified

244}
245
246function appendBounded(buffer, chunk, maxLength = 12000) {
247 const next = `${buffer}${chunk}`
248 return next.length > maxLength ? next.slice(next.length - maxLength) : next
249}
250
251function startGoServer({ vaultRoot, bind, serverBinary, configPath, disablePersistedMetaCache }) {
252 const env = {

Callers 2

startGoServerFunction · 0.70
startChromeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected