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

Function sha256File

packages/python/src/uv.ts:617–620  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

615}
616
617async function sha256File(filePath: string): Promise<string> {
618 const data = await fs.promises.readFile(filePath);
619 return createHash('sha256').update(new Uint8Array(data)).digest('hex');
620}

Callers 1

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected