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

Function create_opts

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

Helper to build IntentCreateOptions with session info for tests.

(title: &str)

Source from the content-addressed store, hash-verified

1348
1349 /// Helper to build IntentCreateOptions with session info for tests.
1350 fn create_opts(title: &str) -> IntentCreateOptions {
1351 IntentCreateOptions {
1352 title: title.to_string(),
1353 priority: None,
1354 assignee: None,
1355 labels: vec![],
1356 session_id: Some("test-session".to_string()),
1357 turn_id: Some(1),
1358 kind: None,
1359 }
1360 }
1361
1362 /// Helper to build IntentCreateOptions for a specific session/turn.
1363 fn create_opts_with_session(

Calls

no outgoing calls