MCPcopy Create free account
hub / github.com/vercel/vercel / devImageTag

Function devImageTag

packages/container/src/util.ts:120–123  ·  view source on GitHub ↗
(serviceName: string)

Source from the content-addressed store, hash-verified

118 * image locally), so the two agree on a single name per service.
119 */
120export function devImageTag(serviceName: string): string {
121 const safe = serviceName.toLowerCase().replace(/[^a-z0-9-_.]/g, '-');
122 return `vercel-dev/${safe || 'service'}:dev`;
123}
124
125export interface RunResult {
126 stdout: string;

Callers 2

resolveImageHandlerFunction · 0.90
resolveDevImageFunction · 0.90

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected