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

Function list_prefix_nested_path

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

Source from the content-addressed store, hash-verified

1238
1239 #[test]
1240 fn list_prefix_nested_path() {
1241 let backend = make_backend("ws/u1/s1");
1242 let path = WorkspacePath::from_normalized("src");
1243 assert_eq!(backend.list_prefix_for(&path), "ws/u1/s1/src/");
1244 }
1245
1246 #[test]
1247 fn normalize_prefix_strips_slashes() {

Callers

nothing calls this directly

Calls 1

make_backendFunction · 0.85

Tested by

no test coverage detected