MCPcopy Create free account
hub / github.com/ShipSecAI/studio / toNanoseconds

Method toNanoseconds

backend/src/trace/log-stream.service.ts:409–411  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

407 }
408
409 private toNanoseconds(date: Date): string {
410 return (BigInt(date.getTime()) * 1000000n).toString();
411 }
412
413 private fromNanoseconds(value: string): string {
414 let parsed: bigint;

Callers 3

queryLokiMethod · 0.95
queryLokiTimeRangeMethod · 0.95
queryLokiRangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected