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

Function fields_stored

atomic-cli/src/commands/workspace/set.rs:244–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

242
243 #[test]
244 fn fields_stored() {
245 let cmd = WorkspaceSet {
246 slug: "backend".to_string(),
247 org: Some("acme".to_string()),
248 no_verify: false,
249 };
250 assert_eq!(cmd.slug, "backend");
251 assert_eq!(cmd.org.as_deref(), Some("acme"));
252 assert!(!cmd.no_verify);
253 }
254
255 // -----------------------------------------------------------------
256 // Regression invariant: when the verifier fails, config must NOT be

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected