MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / default

Method default

crates/opencode-session/src/session.rs:93–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92impl Default for SessionTime {
93 fn default() -> Self {
94 let now = Utc::now().timestamp_millis();
95 Self {
96 created: now,
97 updated: now,
98 compacting: None,
99 archived: None,
100 }
101 }
102}
103
104/// Usage statistics for a session

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected