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

Function create_opts

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

Helper to build IntentCreateOptions with session info for tests.

(title: &str)

Source from the content-addressed store, hash-verified

1325
1326 /// Helper to build IntentCreateOptions with session info for tests.
1327 fn create_opts(title: &str) -> IntentCreateOptions {
1328 IntentCreateOptions {
1329 title: title.to_string(),
1330 priority: None,
1331 assignee: None,
1332 labels: vec![],
1333 session_id: Some("test-session".to_string()),
1334 turn_id: Some(1),
1335 kind: None,
1336 }
1337 }
1338
1339 /// Helper to build IntentCreateOptions for a specific session/turn.
1340 fn create_opts_with_session(

Calls

no outgoing calls