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