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

Function workspace_is_stored

atomic-cli/src/commands/project/list.rs:151–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149
150 #[test]
151 fn workspace_is_stored() {
152 let cmd = ProjectList {
153 workspace: Some("my-workspace".to_string()),
154 org: Some("acme".to_string()),
155 server: None,
156 format: "json".to_string(),
157 };
158 assert_eq!(cmd.workspace.as_deref(), Some("my-workspace"));
159 assert_eq!(cmd.org.as_deref(), Some("acme"));
160 assert_eq!(cmd.format, "json");
161 }
162
163 #[test]
164 fn workspace_can_be_omitted() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected