MCPcopy Create free account
hub / github.com/SamuelZ12/longcut / parseTimestampRange

Function parseTimestampRange

lib/topic-utils.ts:114–119  ·  view source on GitHub ↗
(timestamp?: string | null)

Source from the content-addressed store, hash-verified

112}
113
114function parseTimestampRange(timestamp?: string | null): { start: number; end: number } | null {
115 if (typeof timestamp !== 'string') return null;
116 const trimmed = timestamp.trim();
117 if (!trimmed) return null;
118 return parseTimestampRangeStrict(trimmed);
119}
120
121function approximateTimeOffset(segment: TranscriptSegment | undefined, charOffset?: number | null): number {
122 if (!segment) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected