MCPcopy Index your code
hub / github.com/simstudioai/sim / entryTimestamp

Function entryTimestamp

apps/sim/stores/terminal/console/storage.ts:103–105  ·  view source on GitHub ↗
(entry: ConsoleEntry)

Source from the content-addressed store, hash-verified

101}
102
103function entryTimestamp(entry: ConsoleEntry): number {
104 return Date.parse(entry.endedAt ?? entry.startedAt ?? entry.timestamp)
105}
106
107function shouldReplaceEntry(existing: ConsoleEntry, incoming: ConsoleEntry): boolean {
108 if (existing.isRunning && !incoming.isRunning) return true

Callers 1

shouldReplaceEntryFunction · 0.85

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected