MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / compacts_shared_directory_prefixes

Function compacts_shared_directory_prefixes

src/path_tree.rs:130–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129 #[test]
130 fn compacts_shared_directory_prefixes() {
131 let list = format_compact_path_list(
132 [
133 "tests/gateway/test_gateway_shutdown.py",
134 "tests/gateway/test_goal_verdict_send.py",
135 "tests/gateway/test_homeassistant.py",
136 ],
137 "- ",
138 "",
139 );
140
141 assert_eq!(
142 list,
143 "tests/gateway/\n test_gateway_shutdown.py\n test_goal_verdict_send.py\n test_homeassistant.py"
144 );
145 }
146
147 #[test]
148 fn preserves_leaf_suffixes() {

Callers

nothing calls this directly

Calls 1

format_compact_path_listFunction · 0.85

Tested by

no test coverage detected