MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / update_part

Method update_part

crates/opencode-session/src/compaction.rs:1104–1115  ·  view source on GitHub ↗
(
            &self,
            session_id: &str,
            message_id: &str,
            part: Part,
        )

Source from the content-addressed store, hash-verified

1102 }
1103
1104 async fn update_part(
1105 &self,
1106 session_id: &str,
1107 message_id: &str,
1108 part: Part,
1109 ) -> anyhow::Result<()> {
1110 self.parts
1111 .lock()
1112 .await
1113 .push((session_id.to_string(), message_id.to_string(), part));
1114 Ok(())
1115 }
1116 }
1117
1118 fn make_input(

Callers 3

processMethod · 0.45
createMethod · 0.45
prune_sessionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected