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

Method as_str

crates/opencode-session/src/todo.rs:215–222  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

213
214impl TodoStatus {
215 pub fn as_str(&self) -> &'static str {
216 match self {
217 TodoStatus::Pending => "pending",
218 TodoStatus::InProgress => "in_progress",
219 TodoStatus::Completed => "completed",
220 TodoStatus::Cancelled => "cancelled",
221 }
222 }
223}
224
225impl std::fmt::Display for TodoStatus {

Callers 15

callbackMethod · 0.45
message_to_infoFunction · 0.45
build_message_partFunction · 0.45
stream_messageFunction · 0.45
reply_permissionFunction · 0.45
write_logFunction · 0.45
parse_auth_info_payloadFunction · 0.45
createMethod · 0.45
updateMethod · 0.45
list_for_sessionMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls