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

Method touch

crates/opencode-types/src/session.rs:135–139  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

133
134impl Session {
135 pub fn touch(&mut self) {
136 let now = Utc::now();
137 self.time.updated = now.timestamp_millis();
138 self.updated_at = now;
139 }
140}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected