MCPcopy Create free account
hub / github.com/AI45Lab/Code / key_for_root_uses_prefix_only

Function key_for_root_uses_prefix_only

core/src/workspace/s3.rs:1204–1208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1202
1203 #[test]
1204 fn key_for_root_uses_prefix_only() {
1205 let backend = make_backend("ws/u1/s1");
1206 let key = backend.key_for(&WorkspacePath::root());
1207 assert_eq!(key, "ws/u1/s1");
1208 }
1209
1210 #[test]
1211 fn key_for_nested_path_joins_with_slash() {

Callers

nothing calls this directly

Calls 2

make_backendFunction · 0.85
key_forMethod · 0.80

Tested by

no test coverage detected