MCPcopy Index your code
hub / github.com/AI45Lab/Code / workspace_backend_rejects_missing_local_root

Function workspace_backend_rejects_missing_local_root

sdk/node/src/lib.rs:6146–6157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6144
6145 #[test]
6146 fn workspace_backend_rejects_missing_local_root() {
6147 let result = js_session_options_to_rust(Some(SessionOptions {
6148 workspace_backend: Some(JsWorkspaceBackend {
6149 kind: "local".to_string(),
6150 root: None,
6151 s3: None,
6152 }),
6153 ..Default::default()
6154 }));
6155
6156 assert!(result.is_err());
6157 }
6158
6159 #[test]
6160 fn s3_workspace_backend_maps_to_rust_session_options() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected