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

Function fileKey

packages/cli/src/capture/mediaCapture.ts:414–414  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

412 // filename so a clip seen in both lands once. netSet is read here — AFTER
413 // sampling — so rotation fetches that arrived during the window count.
414 const fileKey = (s: string) => (s.split("/").pop() || s).split("?")[0]!;
415 const byKey = new Map<string, VideoDescriptor & { rich: boolean }>();
416 for (const d of domVideos) {
417 const k = d.filename || fileKey(d.src);

Callers 1

captureVideoManifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected