MCPcopy Create free account
hub / github.com/CapSoftware/Cap / getValidDuration

Function getValidDuration

apps/web/workflows/process-video.ts:29–31  ·  view source on GitHub ↗
(duration: number)

Source from the content-addressed store, hash-verified

27}
28
29function getValidDuration(duration: number) {
30 return Number.isFinite(duration) && duration > 0 ? duration : undefined;
31}
32
33export async function processVideoWorkflow(
34 payload: ProcessVideoWorkflowPayload,

Callers 1

saveMetadataAndCompleteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected