MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / trimTrailingSlash

Function trimTrailingSlash

packages/aws-lambda/src/handler.ts:523–525  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

521}
522
523function trimTrailingSlash(prefix: string): string {
524 return prefix.endsWith("/") ? prefix.slice(0, -1) : prefix;
525}
526
527function cleanupDir(dir: string): void {
528 try {

Callers 2

handlePlanFunction · 0.70
uploadChunkOutputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected