MCPcopy Index your code
hub / github.com/heygen-com/hyperframes / pad

Function pad

packages/aws-lambda/src/handler.ts:519–521  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

517}
518
519function pad(n: number): string {
520 return n.toString().padStart(4, "0");
521}
522
523function trimTrailingSlash(prefix: string): string {
524 return prefix.endsWith("/") ? prefix.slice(0, -1) : prefix;

Callers 3

handleRenderChunkFunction · 0.70
uploadChunkOutputFunction · 0.70
downloadChunkObjectsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected