MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / create_opts

Function create_opts

atomic-repository/src/repository/vault_intent.rs:1016–1025  ·  view source on GitHub ↗

Helper to build IntentCreateOptions with session info for tests.

(title: &str)

Source from the content-addressed store, hash-verified

1014
1015 /// Helper to build IntentCreateOptions with session info for tests.
1016 fn create_opts(title: &str) -> IntentCreateOptions {
1017 IntentCreateOptions {
1018 title: title.to_string(),
1019 priority: None,
1020 assignee: None,
1021 labels: vec![],
1022 session_id: Some("test-session".to_string()),
1023 turn_id: Some(1),
1024 }
1025 }
1026
1027 /// Helper to build IntentCreateOptions for a specific session/turn.
1028 fn create_opts_with_session(

Calls

no outgoing calls