MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / toIso

Function toIso

scripts/export-deepseek-session-traces.ts:165–171  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

163}
164
165function toIso(value: unknown): string {
166 if (value instanceof Date) return value.toISOString()
167 if (value && typeof value === 'object' && 'value' in value) {
168 return String((value as { value: unknown }).value)
169 }
170 return String(value)
171}
172
173function getRequest(row: SessionRow): Record<string, unknown> {
174 if (typeof row.request_json === 'string') {

Callers 1

buildTraceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected